mirror of
https://github.com/penpot/penpot.git
synced 2026-04-26 19:58:09 +00:00
🐛 Minor fix on commit-snapshot handler.
This commit is contained in:
parent
2f589a49e9
commit
a0df97a2e5
@ -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)))))))
|
||||
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user