0
Fork 0
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:
Florian Schroedl 2024-09-11 11:09:06 +02:00
parent 012e79603f
commit 0cd7d4dd7a

View file

@ -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)