From 4c6e0c16516a0c1d75467c7776aa238ad058859e Mon Sep 17 00:00:00 2001 From: Andrey Antukh Date: Fri, 10 Jan 2025 14:56:27 +0100 Subject: [PATCH] :bug: Fix incorrect navegation event to component main instance when the main instance is located in the same file but a different page --- frontend/src/app/main/ui/workspace/sidebar/assets/common.cljs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/app/main/ui/workspace/sidebar/assets/common.cljs b/frontend/src/app/main/ui/workspace/sidebar/assets/common.cljs index 5fd0ab404..9b20a62b3 100644 --- a/frontend/src/app/main/ui/workspace/sidebar/assets/common.cljs +++ b/frontend/src/app/main/ui/workspace/sidebar/assets/common.cljs @@ -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