mirror of
https://github.com/penpot/penpot.git
synced 2026-04-25 11:18:36 +00:00
🐛 Fix org options space should be hidden when there are no options
This commit is contained in:
parent
ad974f4047
commit
534701f04f
@ -782,9 +782,8 @@
|
||||
[:span {:class (stl/css :team-text)}
|
||||
(:name current-org)]])]
|
||||
arrow-icon]
|
||||
(if (or default-org?
|
||||
(= (:id profile) (:owner-id current-org)))
|
||||
[:div {:class (stl/css :org-options)}]
|
||||
(when-not (or default-org?
|
||||
(= (:id profile) (:owner-id current-org)))
|
||||
[:> button* {:variant "ghost"
|
||||
:type "button"
|
||||
:class (stl/css :org-options-btn)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user