mirror of
https://github.com/penpot/penpot.git
synced 2025-03-27 15:11:26 -05:00
🐛 Fix incorrect feature checking on movig files between teams
This commit is contained in:
parent
12907771b0
commit
8b92680a82
1 changed files with 2 additions and 0 deletions
|
@ -242,6 +242,7 @@
|
||||||
(let [not-supported (-> (or source-features #{})
|
(let [not-supported (-> (or source-features #{})
|
||||||
(set/difference destination-features)
|
(set/difference destination-features)
|
||||||
(set/difference no-migration-features)
|
(set/difference no-migration-features)
|
||||||
|
(set/difference default-enabled-features)
|
||||||
(seq))]
|
(seq))]
|
||||||
(when not-supported
|
(when not-supported
|
||||||
(ex/raise :type :restriction
|
(ex/raise :type :restriction
|
||||||
|
@ -253,6 +254,7 @@
|
||||||
(let [not-supported (-> (or destination-features #{})
|
(let [not-supported (-> (or destination-features #{})
|
||||||
(set/difference source-features)
|
(set/difference source-features)
|
||||||
(set/difference no-migration-features)
|
(set/difference no-migration-features)
|
||||||
|
(set/difference default-enabled-features)
|
||||||
(seq))]
|
(seq))]
|
||||||
(when not-supported
|
(when not-supported
|
||||||
(ex/raise :type :restriction
|
(ex/raise :type :restriction
|
||||||
|
|
Loading…
Add table
Reference in a new issue