mirror of
https://github.com/penpot/penpot.git
synced 2025-05-26 00:56:09 +02:00
🐛 Minor fix on commit-snapshot handler.
This commit is contained in:
parent
2f589a49e9
commit
a0df97a2e5
1 changed files with 2 additions and 2 deletions
|
@ -164,8 +164,8 @@
|
||||||
(ptk/reify ::handle-page-snapshot
|
(ptk/reify ::handle-page-snapshot
|
||||||
ptk/WatchEvent
|
ptk/WatchEvent
|
||||||
(watch [_ state stream]
|
(watch [_ state stream]
|
||||||
(let [local (:workspace-local state)]
|
(let [page-id' (get-in state [:workspace-page :id])]
|
||||||
(when (= (:page-id local) page-id)
|
(when (= page-id page-id')
|
||||||
(rx/of (shapes-changes-commited msg)))))))
|
(rx/of (shapes-changes-commited msg)))))))
|
||||||
|
|
||||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue