mirror of
https://github.com/penpot/penpot.git
synced 2025-03-13 08:11:30 -05:00
🐛 Fix bug on images collections filtering.
This commit is contained in:
parent
44a893b46e
commit
1357fed067
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@
|
|||
ptk/UpdateEvent
|
||||
(update [_ state]
|
||||
(reduce (fn [state {:keys [id user] :as item}]
|
||||
(let [type (if (uuid/zero? (:user item)) :builtin :own)
|
||||
(let [type (if (uuid/zero? (:user-id item)) :builtin :own)
|
||||
item (assoc item :type type)]
|
||||
(assoc-in state [:images-collections id] item)))
|
||||
state
|
||||
|
|
Loading…
Add table
Reference in a new issue