Fix memberships page conditional displaying

Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
Émile Ré
2026-02-02 13:53:39 +04:00
parent 39ccb282ca
commit cd8e905802

View File

@@ -105,13 +105,11 @@ export function MembershipsPage(props: {
))}
</div>
)}
{memberships.length > 0 && (
{initialMemberships.length > 0 && (
<div className="space-y-3">
{invitations.length > 0 && (
<h2 className="text-xl font-semibold">
{__("Your organizations")}
</h2>
)}
<h2 className="text-xl font-semibold">
{__("Your organizations")}
</h2>
<div className="w-full">
<Input
icon={IconMagnifyingGlass}