diff --git a/CHANGES.md b/CHANGES.md index 84c2fd03c..b51a56e60 100644 --- a/CHANGES.md +++ b/CHANGES.md @@ -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 diff --git a/frontend/src/app/main/ui/dashboard/file_menu.cljs b/frontend/src/app/main/ui/dashboard/file_menu.cljs index 4ac841f2f..28eff99bb 100644 --- a/frontend/src/app/main/ui/dashboard/file_menu.cljs +++ b/frontend/src/app/main/ui/dashboard/file_menu.cljs @@ -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 [_]