mirror of
https://github.com/penpot/penpot.git
synced 2025-05-11 16:07:16 +02:00
Merge remote-tracking branch 'origin/staging' into develop
This commit is contained in:
commit
1794ea0d9e
13 changed files with 88 additions and 23 deletions
|
@ -510,7 +510,8 @@
|
|||
other not needed objects removed from the `:objects` data
|
||||
structure."
|
||||
[{:keys [objects] :as page} object-id]
|
||||
(let [objects (cph/get-children-with-self objects object-id)]
|
||||
(let [objects (->> (cph/get-children-with-self objects object-id)
|
||||
(filter some?))]
|
||||
(assoc page :objects (d/index-by :id objects))))
|
||||
|
||||
(defn- prune-thumbnails
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue