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)}
|
[:span {:class (stl/css :team-text)}
|
||||||
(:name current-org)]])]
|
(:name current-org)]])]
|
||||||
arrow-icon]
|
arrow-icon]
|
||||||
(if (or default-org?
|
(when-not (or default-org?
|
||||||
(= (:id profile) (:owner-id current-org)))
|
(= (:id profile) (:owner-id current-org)))
|
||||||
[:div {:class (stl/css :org-options)}]
|
|
||||||
[:> button* {:variant "ghost"
|
[:> button* {:variant "ghost"
|
||||||
:type "button"
|
:type "button"
|
||||||
:class (stl/css :org-options-btn)
|
:class (stl/css :org-options-btn)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user