mirror of
https://github.com/penpot/penpot.git
synced 2025-05-21 06:56:10 +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
|
@ -43,6 +43,7 @@
|
||||||
- Fix decimal numbers in export viewbox [Taiga #2290](https://tree.taiga.io/project/penpot/issue/2290)
|
- 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)
|
- 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).
|
- 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
|
### :arrow_up: Deps updates
|
||||||
|
|
||||||
|
|
|
@ -75,11 +75,9 @@
|
||||||
on-new-tab
|
on-new-tab
|
||||||
(fn [_]
|
(fn [_]
|
||||||
(let [path-params {:project-id (:project-id file)
|
(let [path-params {:project-id (:project-id file)
|
||||||
:file-id (:id file)}
|
:file-id (:id file)}]
|
||||||
query-params {:page-id (first (get-in file [:data :pages]))}]
|
|
||||||
(st/emit! (rt/nav-new-window* {:rname :workspace
|
(st/emit! (rt/nav-new-window* {:rname :workspace
|
||||||
:path-params path-params
|
:path-params path-params}))))
|
||||||
:query-params query-params}))))
|
|
||||||
|
|
||||||
on-duplicate
|
on-duplicate
|
||||||
(fn [_]
|
(fn [_]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue