0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 17:21:17 -05:00

🐛 Send correct features on synchronous update-file operation

This commit is contained in:
Andrey Antukh 2023-11-17 11:39:06 +01:00 committed by Andrés Moya
parent 973214ea50
commit c948f1a087

View file

@ -203,9 +203,8 @@
(ptk/reify ::persist-synchronous-changes
ptk/WatchEvent
(watch [_ state _]
(let [features (cond-> #{}
(features/active-feature? state "components/v2")
(conj "components/v2"))
(let [features (features/get-team-enabled-features state)
sid (:session-id state)
file (dm/get-in state [:workspace-libraries file-id])