mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 12:06:11 +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/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…
Add table
Add a link
Reference in a new issue