0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-14 16:51:18 -05:00

🐛 Fix incorrect navegation event to component main instance

when the main instance is located in the same file but a different
page
This commit is contained in:
Andrey Antukh 2025-01-10 14:56:27 +01:00
parent ceb10bd43c
commit 4c6e0c1651

View file

@ -399,7 +399,7 @@
#(st/emit! (dw/set-annotations-id-for-create id))
do-show-local-component
#(st/emit! (dwl/go-to-local-component component-id))
#(st/emit! (dwl/go-to-local-component :id component-id))
;; When the show-remote is after a restore, the component may still be deleted
do-show-remote-component