mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 17:00:36 -05:00
🐛 Fix add flow option in contextual menu for frames
This commit is contained in:
parent
6659ab110c
commit
bc64fdb1bc
1 changed files with 1 additions and 1 deletions
|
@ -349,7 +349,7 @@
|
||||||
(mf/defc context-menu-prototype
|
(mf/defc context-menu-prototype
|
||||||
[{:keys [shapes]}]
|
[{:keys [shapes]}]
|
||||||
(let [options (mf/deref refs/workspace-page-options)
|
(let [options (mf/deref refs/workspace-page-options)
|
||||||
options-mode (mf/deref refs/options-mode)
|
options-mode (mf/deref refs/options-mode-global)
|
||||||
do-add-flow #(st/emit! (dwi/add-flow-selected-frame))
|
do-add-flow #(st/emit! (dwi/add-flow-selected-frame))
|
||||||
do-remove-flow #(st/emit! (dwi/remove-flow (:id %)))
|
do-remove-flow #(st/emit! (dwi/remove-flow (:id %)))
|
||||||
flows (:flows options)
|
flows (:flows options)
|
||||||
|
|
Loading…
Reference in a new issue