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:
commit
361b02a76a
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…
Add table
Reference in a new issue