mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 01:46:12 +02:00
🐛 Fix open in new tab action on dashboard.
This commit is contained in:
parent
4216e2e92b
commit
a15f867059
2 changed files with 3 additions and 4 deletions
|
@ -75,11 +75,9 @@
|
|||
on-new-tab
|
||||
(fn [_]
|
||||
(let [path-params {:project-id (:project-id file)
|
||||
:file-id (:id file)}
|
||||
query-params {:page-id (first (get-in file [:data :pages]))}]
|
||||
:file-id (:id file)}]
|
||||
(st/emit! (rt/nav-new-window* {:rname :workspace
|
||||
:path-params path-params
|
||||
:query-params query-params}))))
|
||||
:path-params path-params}))))
|
||||
|
||||
on-duplicate
|
||||
(fn [_]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue