mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
Merge pull request #279 from tokens-studio/fix-inspect-tokens-tab
Disable tokens tab in inspect mode
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user