mirror of
https://github.com/penpot/penpot.git
synced 2026-03-10 20:26:30 +00:00
Fix unexpected exception on persisting first time color collections.
This commit is contained in:
@@ -116,7 +116,7 @@
|
||||
(-apply-watch [_ state stream]
|
||||
(let [builtin? #(= :builtin (:type %))
|
||||
xform (remove (comp builtin? second))
|
||||
version (get state ::version)
|
||||
version (or (get state ::version) -1)
|
||||
value (->> (get state :colors-collections)
|
||||
(into {} xform))
|
||||
store {:key "color-collections"
|
||||
|
||||
Reference in New Issue
Block a user