🐛 Fix nested frame interaction created flow in wrong frame

This commit is contained in:
alonso.torres 2023-03-21 16:50:59 +01:00
parent 8ab264af80
commit 131e4f2446
3 changed files with 21 additions and 1 deletions

View file

@ -112,7 +112,7 @@
(watch [_ state _]
(let [page-id (:current-page-id state)
objects (wsh/lookup-page-objects state page-id)
frame (cph/get-frame objects shape)
frame (cph/get-root-frame objects (:id shape))
flows (get-in state [:workspace-data
:pages-index
page-id