mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02:00
🐛 Fix tab reuse issue (viewer <-> workspace).
This commit is contained in:
parent
6eac9102c9
commit
abca69f408
2 changed files with 8 additions and 5 deletions
|
@ -117,9 +117,10 @@
|
|||
(effect [_ state _]
|
||||
(let [router (:router state)
|
||||
path (resolve router rname path-params query-params)
|
||||
name (or name "_blank")
|
||||
uri (-> (u/uri cfg/public-uri)
|
||||
(assoc :fragment path))]
|
||||
(dom/open-new-window (str uri) name)))))
|
||||
(dom/open-new-window uri name nil)))))
|
||||
|
||||
(defn nav-back
|
||||
[]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue