mirror of
https://github.com/penpot/penpot.git
synced 2025-08-01 13:28:41 +02:00
🐛 Fix unexpected nil key on page-index after page creation
This commit is contained in:
parent
63ed9cbbde
commit
f2a4275531
1 changed files with 2 additions and 1 deletions
|
@ -259,7 +259,8 @@
|
||||||
(if-let [[page-id changes] (first entries)]
|
(if-let [[page-id changes] (first entries)]
|
||||||
(recur (-> fdata
|
(recur (-> fdata
|
||||||
(cpc/process-changes changes)
|
(cpc/process-changes changes)
|
||||||
(ctst/update-object-indices page-id))
|
(cond-> (some? page-id)
|
||||||
|
(ctst/update-object-indices page-id)))
|
||||||
(rest entries))
|
(rest entries))
|
||||||
fdata))))))
|
fdata))))))
|
||||||
(-> state
|
(-> state
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue