mirror of
https://github.com/penpot/penpot.git
synced 2025-12-12 06:24:17 +01:00
🐛 Fix unexpected nil key on page-index after page creation
This commit is contained in:
committed by
Andrés Moya
parent
63ed9cbbde
commit
f2a4275531
@@ -259,7 +259,8 @@
|
||||
(if-let [[page-id changes] (first entries)]
|
||||
(recur (-> fdata
|
||||
(cpc/process-changes changes)
|
||||
(ctst/update-object-indices page-id))
|
||||
(cond-> (some? page-id)
|
||||
(ctst/update-object-indices page-id)))
|
||||
(rest entries))
|
||||
fdata))))))
|
||||
(-> state
|
||||
|
||||
Reference in New Issue
Block a user