mirror of
https://github.com/penpot/penpot.git
synced 2026-05-11 11:03:52 +00:00
🐛 Fix incorrect feature checking on movig files between teams
This commit is contained in:
parent
12907771b0
commit
8b92680a82
@ -242,6 +242,7 @@
|
||||
(let [not-supported (-> (or source-features #{})
|
||||
(set/difference destination-features)
|
||||
(set/difference no-migration-features)
|
||||
(set/difference default-enabled-features)
|
||||
(seq))]
|
||||
(when not-supported
|
||||
(ex/raise :type :restriction
|
||||
@ -253,6 +254,7 @@
|
||||
(let [not-supported (-> (or destination-features #{})
|
||||
(set/difference source-features)
|
||||
(set/difference no-migration-features)
|
||||
(set/difference default-enabled-features)
|
||||
(seq))]
|
||||
(when not-supported
|
||||
(ex/raise :type :restriction
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user