0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-15 17:21:17 -05:00

🐛 After restore a component, make the action 'go to main component'

This commit is contained in:
Pablo Alba 2023-05-30 22:47:57 +02:00 committed by Andrés Moya
parent 4582ffb440
commit dcb5194252
2 changed files with 4 additions and 2 deletions

View file

@ -472,7 +472,8 @@
do-navigate-component-file #(st/emit! (dwl/nav-to-component-file component-file))
do-update-component #(st/emit! (dwl/update-component-sync id component-file))
do-update-component-in-bulk #(st/emit! (dwl/update-component-in-bulk component-shapes component-file))
do-restore-component #(st/emit! (dwl/restore-component component-file component-id))
do-restore-component #(st/emit! (dwl/restore-component component-file component-id)
(dw/go-to-main-instance nil component-id))
do-update-remote-component
#(st/emit! (modal/show

View file

@ -184,7 +184,8 @@
#(st/emit! (dwl/update-component-sync id library-id))
do-restore-component
#(st/emit! (dwl/restore-component library-id component-id))
#(st/emit! (dwl/restore-component library-id component-id)
(dw/go-to-main-instance nil component-id))
do-update-remote-component
#(st/emit! (modal/show