mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 09:16:12 +02:00
🐛 Fix problem when page deletion and undo.
Related to duplicated page reference in undo page deletion.
This commit is contained in:
parent
7efc1a0366
commit
17ae6bf89d
2 changed files with 22 additions and 16 deletions
|
@ -141,6 +141,11 @@
|
|||
(try
|
||||
(us/assert ::spec/changes redo-changes)
|
||||
(us/assert ::spec/changes undo-changes)
|
||||
|
||||
;; (prn "====== commit-changes ======" path)
|
||||
;; (cljs.pprint/pprint redo-changes)
|
||||
;; (cljs.pprint/pprint undo-changes)
|
||||
|
||||
(update-in state path cp/process-changes redo-changes false)
|
||||
|
||||
(catch :default e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue