0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-04-01 17:41:50 -05:00

🐛 Fix open in new tab action on dashboard.

This commit is contained in:
Andrey Antukh 2022-01-12 13:00:50 +01:00
parent 4216e2e92b
commit a15f867059
2 changed files with 3 additions and 4 deletions

View file

@ -43,6 +43,7 @@
- Fix decimal numbers in export viewbox [Taiga #2290](https://tree.taiga.io/project/penpot/issue/2290)
- Right click over artboard name to open its menu [Taiga #1679](https://tree.taiga.io/project/penpot/issue/1679)
- Make the default session cookue use SameSite=Lax instead of Strict (causes some issues in latest versions of Chrome).
- Fix "open in new tab" on dashboard [Taiga #2235](https://tree.taiga.io/project/penpot/issue/2355)
### :arrow_up: Deps updates

View file

@ -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 [_]