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:
parent
00afb841ac
commit
3448259c60
1 changed files with 2 additions and 2 deletions
|
@ -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?
|
||||
|
|
Loading…
Add table
Reference in a new issue