0
Fork 0
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:
Alejandro Alonso 2023-11-17 07:23:06 +01:00 committed by Andrey Antukh
parent 9d8b7bc25c
commit c27639d02e

View file

@ -389,7 +389,8 @@
(let [do-action
(fn [action event]
(dom/stop-propagation event)
(action))]
(action)
(on-close))]
[:& dropdown {:show show :on-close on-close}
[:ul {:class (stl/css :custom-select-dropdown)}
(for [entry menu-entries :when (not (nil? entry))]