mirror of
https://github.com/penpot/penpot.git
synced 2025-02-01 11:59:17 -05:00
Merge pull request #3286 from penpot/superalex-fix-add-flow-option-for-frames
🐛 Fix add flow option in contextual menu for frames
This commit is contained in:
commit
cdc3367d1b
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…
Add table
Reference in a new issue