mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix typo in transducer that prevents component swap from open
This commit is contained in:
@@ -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?
|
||||
|
||||
Reference in New Issue
Block a user