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:
parent
749fc61885
commit
64eba585d9
1 changed files with 3 additions and 2 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Reference in a new issue