From 64eba585d9c30455f9002c0df0ba05a1ed754dbf Mon Sep 17 00:00:00 2001 From: Akshay Gupta Date: Wed, 24 May 2023 22:18:11 +0530 Subject: [PATCH] :tada: Add feature to open project name in new tab from workspace Signed-off-by: Akshay Gupta --- frontend/src/app/main/ui/workspace/header.cljs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/main/ui/workspace/header.cljs b/frontend/src/app/main/ui/workspace/header.cljs index 8dc730b31..34f14cad5 100644 --- a/frontend/src/app/main/ui/workspace/header.cljs +++ b/frontend/src/app/main/ui/workspace/header.cljs @@ -248,8 +248,9 @@ [:div.btn-icon-dark.btn-small {:on-click #(reset! show-menu? true)} i/actions] [:div.project-tree {:alt (tr "workspace.sitemap")} [:span.project-name - {:on-click #(st/emit! (rt/navigate :dashboard-files {:team-id team-id - :project-id (:project-id file)}))} + {:on-click #(st/emit! (rt/nav-new-window* {:rname :dashboard-files + :path-params {:team-id team-id + :project-id (:project-id file)}}))} (:name project) " /"] (if @editing? [:input.file-name