mirror of
https://github.com/penpot/penpot.git
synced 2026-03-21 01:43:43 +00:00
🐛 Minor fix on commit-snapshot handler.
This commit is contained in:
@@ -164,8 +164,8 @@
|
||||
(ptk/reify ::handle-page-snapshot
|
||||
ptk/WatchEvent
|
||||
(watch [_ state stream]
|
||||
(let [local (:workspace-local state)]
|
||||
(when (= (:page-id local) page-id)
|
||||
(let [page-id' (get-in state [:workspace-page :id])]
|
||||
(when (= page-id page-id')
|
||||
(rx/of (shapes-changes-commited msg)))))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
Reference in New Issue
Block a user