mirror of
https://github.com/penpot/penpot.git
synced 2025-03-25 06:01:46 -05:00
🐛 Do not show deleted components on swap
This commit is contained in:
parent
39ed665b93
commit
9b32a00454
1 changed files with 3 additions and 2 deletions
|
@ -186,8 +186,9 @@
|
|||
:path path})
|
||||
filters (deref filters*)
|
||||
|
||||
components (-> (get-in libraries [(:file-id filters) :data :components])
|
||||
vals)
|
||||
components (->> (get-in libraries [(:file-id filters) :data :components])
|
||||
vals
|
||||
(remove #(true? (:deleted %))))
|
||||
|
||||
components (if (str/empty? (:term filters))
|
||||
components
|
||||
|
|
Loading…
Add table
Reference in a new issue