mirror of
https://github.com/penpot/penpot.git
synced 2025-01-21 22:22:43 -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")}
|
:title (tr "workspace.toolbar.assets")}
|
||||||
[:& assets-toolbox {:size (- size 58)}]])
|
[:& assets-toolbox {:size (- size 58)}]])
|
||||||
|
|
||||||
|
(when-not ^boolean mode-inspect?
|
||||||
[:& tab-element {:id :tokens
|
[:& tab-element {:id :tokens
|
||||||
:title "Tokens"}
|
:title "Tokens"}
|
||||||
[:& tokens-sidebar-tab]]]])]]))
|
[:& tokens-sidebar-tab]])]])]]))
|
||||||
|
|
||||||
;; --- Right Sidebar (Component)
|
;; --- Right Sidebar (Component)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue