0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-21 06:02:32 -05:00

Merge pull request #279 from tokens-studio/fix-inspect-tokens-tab

Disable tokens tab in inspect mode
This commit is contained in:
Florian Schrödl 2024-09-11 15:11:22 +02:00 committed by GitHub
commit 361b02a76a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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)