0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-12 07:41:43 -05:00

🐛 Fix typo in transducer that prevents component swap from open

This commit is contained in:
Pablo Alba 2023-11-07 12:49:34 +01:00
parent 00afb841ac
commit 3448259c60

View file

@ -160,7 +160,7 @@
[:div.component-item
{:ref item-ref
:class (stl/css-case :disabled loop)
:key (:id item)
:key (str "swap-item-" (:id item))
:on-click on-select-component}
(when visible?
[:& cmm/component-item-thumbnail {:file-id (:file-id item)
@ -232,7 +232,7 @@
(mapcat get-subgroups)
(remove str/empty?)
(remove nil?)
distinct
(distinct)
(filter #(= (cph/butlast-path %) (:path filters))))
groups (when-not is-search?