mirror of
https://github.com/penpot/penpot.git
synced 2025-01-10 00:40:30 -05:00
🐛 Fix viewer dashboard link
This commit is contained in:
parent
02c0c867d6
commit
ac5412301e
1 changed files with 2 additions and 2 deletions
|
@ -202,9 +202,9 @@
|
|||
|
||||
[:header.viewer-header
|
||||
[:div.nav-zone
|
||||
[:div.main-icon
|
||||
;; If the user doesn't have permission we disable the link
|
||||
[:div.main-icon {:style {:cursor (when-not (:can-edit permissions) "auto")}}
|
||||
[:a {:on-click go-to-dashboard
|
||||
;; If the user doesn't have permission we disable the link
|
||||
:style {:pointer-events (when-not (:can-edit permissions) "none")}} i/logo-icon]]
|
||||
|
||||
[:& header-sitemap {:project project :file file :page page :frame frame :index index}]]
|
||||
|
|
Loading…
Reference in a new issue