🐛 Fix org options space should be hidden when there are no options

This commit is contained in:
Pablo Alba 2026-04-21 16:49:07 +02:00 committed by Pablo Alba
parent ad974f4047
commit 534701f04f

View File

@ -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)