mirror of
https://github.com/penpot/penpot.git
synced 2025-07-25 23:37:20 +02: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
|
[:div.component-item
|
||||||
{:ref item-ref
|
{:ref item-ref
|
||||||
:class (stl/css-case :disabled loop)
|
:class (stl/css-case :disabled loop)
|
||||||
:key (:id item)
|
:key (str "swap-item-" (:id item))
|
||||||
:on-click on-select-component}
|
:on-click on-select-component}
|
||||||
(when visible?
|
(when visible?
|
||||||
[:& cmm/component-item-thumbnail {:file-id (:file-id item)
|
[:& cmm/component-item-thumbnail {:file-id (:file-id item)
|
||||||
|
@ -232,7 +232,7 @@
|
||||||
(mapcat get-subgroups)
|
(mapcat get-subgroups)
|
||||||
(remove str/empty?)
|
(remove str/empty?)
|
||||||
(remove nil?)
|
(remove nil?)
|
||||||
distinct
|
(distinct)
|
||||||
(filter #(= (cph/butlast-path %) (:path filters))))
|
(filter #(= (cph/butlast-path %) (:path filters))))
|
||||||
|
|
||||||
groups (when-not is-search?
|
groups (when-not is-search?
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue