mirror of
https://github.com/penpot/penpot.git
synced 2025-07-29 04:37:27 +02:00
🐛 Send correct features on synchronous update-file operation
This commit is contained in:
parent
973214ea50
commit
c948f1a087
1 changed files with 2 additions and 3 deletions
|
@ -203,9 +203,8 @@
|
||||||
(ptk/reify ::persist-synchronous-changes
|
(ptk/reify ::persist-synchronous-changes
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state _]
|
(watch [_ state _]
|
||||||
(let [features (cond-> #{}
|
(let [features (features/get-team-enabled-features state)
|
||||||
(features/active-feature? state "components/v2")
|
|
||||||
(conj "components/v2"))
|
|
||||||
sid (:session-id state)
|
sid (:session-id state)
|
||||||
file (dm/get-in state [:workspace-libraries file-id])
|
file (dm/get-in state [:workspace-libraries file-id])
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue