mirror of
https://github.com/penpot/penpot.git
synced 2025-03-12 07:41:43 -05:00
🐛 Fix after making 'Detach instance' in a component the swap sidebar was opened
This commit is contained in:
parent
9d8b7bc25c
commit
c27639d02e
1 changed files with 2 additions and 1 deletions
|
@ -389,7 +389,8 @@
|
||||||
(let [do-action
|
(let [do-action
|
||||||
(fn [action event]
|
(fn [action event]
|
||||||
(dom/stop-propagation event)
|
(dom/stop-propagation event)
|
||||||
(action))]
|
(action)
|
||||||
|
(on-close))]
|
||||||
[:& dropdown {:show show :on-close on-close}
|
[:& dropdown {:show show :on-close on-close}
|
||||||
[:ul {:class (stl/css :custom-select-dropdown)}
|
[:ul {:class (stl/css :custom-select-dropdown)}
|
||||||
(for [entry menu-entries :when (not (nil? entry))]
|
(for [entry menu-entries :when (not (nil? entry))]
|
||||||
|
|
Loading…
Add table
Reference in a new issue