0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-12 18:18:24 -05:00

🎉 Add feature to open project name in new tab from workspace

Signed-off-by: Akshay Gupta <gravity.akshay@gmail.com>
This commit is contained in:
Akshay Gupta 2023-05-24 22:18:11 +05:30 committed by Alejandro Alonso
parent 749fc61885
commit 64eba585d9

View file

@ -248,8 +248,9 @@
[:div.btn-icon-dark.btn-small {:on-click #(reset! show-menu? true)} i/actions] [:div.btn-icon-dark.btn-small {:on-click #(reset! show-menu? true)} i/actions]
[:div.project-tree {:alt (tr "workspace.sitemap")} [:div.project-tree {:alt (tr "workspace.sitemap")}
[:span.project-name [:span.project-name
{:on-click #(st/emit! (rt/navigate :dashboard-files {:team-id team-id {:on-click #(st/emit! (rt/nav-new-window* {:rname :dashboard-files
:project-id (:project-id file)}))} :path-params {:team-id team-id
:project-id (:project-id file)}}))}
(:name project) " /"] (:name project) " /"]
(if @editing? (if @editing?
[:input.file-name [:input.file-name