mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 06:02:32 -05:00
Automatically open when adding token
This commit is contained in:
parent
40846b87c2
commit
1cc1d94a27
1 changed files with 1 additions and 1 deletions
|
@ -106,6 +106,7 @@
|
|||
(fn [event]
|
||||
(let [{:keys [key fields]} modal]
|
||||
(dom/stop-propagation event)
|
||||
(st/emit! (dt/set-token-type-section-open type true))
|
||||
(modal/show! key {:x (.-clientX ^js event)
|
||||
:y (.-clientY ^js event)
|
||||
:position :right
|
||||
|
@ -126,7 +127,6 @@
|
|||
[:& cmm/asset-section {:icon (mf/fnc icon-wrapper [_]
|
||||
[:div {:class (stl/css :section-icon)}
|
||||
[:& token-section-icon {:type type}]])
|
||||
|
||||
:title title
|
||||
:assets-count tokens-count
|
||||
:open? open?}
|
||||
|
|
Loading…
Add table
Reference in a new issue