mirror of
https://github.com/penpot/penpot.git
synced 2025-06-01 22:41:42 +02:00
✨ Click on flow tag open viewer
This commit is contained in:
parent
ff14208a95
commit
8669207086
6 changed files with 26 additions and 12 deletions
|
@ -106,7 +106,7 @@
|
|||
|
||||
:viewer
|
||||
(let [{:keys [query-params path-params]} route
|
||||
{:keys [index share-id section page-id interactions-mode] :or {section :interactions interactions-mode :show-on-click}} query-params
|
||||
{:keys [index share-id section page-id interactions-mode frame-id] :or {section :interactions interactions-mode :show-on-click}} query-params
|
||||
{:keys [file-id]} path-params]
|
||||
(if (:token query-params)
|
||||
[:& viewer/breaking-change-notice]
|
||||
|
@ -119,7 +119,8 @@
|
|||
:interactions-show? (case (keyword interactions-mode)
|
||||
:hide false
|
||||
:show true
|
||||
:show-on-click false)}]))
|
||||
:show-on-click false)
|
||||
:frame-id frame-id}]))
|
||||
|
||||
:workspace
|
||||
(let [project-id (some-> params :path :project-id uuid)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue