mirror of
https://github.com/penpot/penpot.git
synced 2025-01-06 14:50:20 -05:00
Disable tokens tab in inspect mode
This commit is contained in:
parent
012e79603f
commit
0cd7d4dd7a
1 changed files with 4 additions and 3 deletions
|
@ -122,9 +122,10 @@
|
|||
:title (tr "workspace.toolbar.assets")}
|
||||
[:& assets-toolbox {:size (- size 58)}]])
|
||||
|
||||
[:& tab-element {:id :tokens
|
||||
:title "Tokens"}
|
||||
[:& tokens-sidebar-tab]]]])]]))
|
||||
(when-not ^boolean mode-inspect?
|
||||
[:& tab-element {:id :tokens
|
||||
:title "Tokens"}
|
||||
[:& tokens-sidebar-tab]])]])]]))
|
||||
|
||||
;; --- Right Sidebar (Component)
|
||||
|
||||
|
|
Loading…
Reference in a new issue