0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-23 05:01:23 -05:00

🐛 Fix incorrect feature checking on movig files between teams

This commit is contained in:
Andrey Antukh 2023-11-29 15:45:59 +01:00 committed by Andrés Moya
parent 12907771b0
commit 8b92680a82

View file

@ -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