mirror of
https://github.com/penpot/penpot.git
synced 2025-02-10 09:08:31 -05:00
Refresh the view app page each time user clicks on preview button.
This commit is contained in:
parent
3940995e21
commit
fe61765435
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@
|
|||
[event project page]
|
||||
(let [token (:share-token project)
|
||||
index (:index page)
|
||||
url (str cfg/viewurl "#/" token "/" index)]
|
||||
rval (rand-int 1000000)
|
||||
url (str cfg/viewurl "?v=" rval "#/" token "/" index)]
|
||||
(js/open url "new tab" "")))
|
||||
|
||||
(mx/defc header
|
||||
|
|
Loading…
Add table
Reference in a new issue