Fix memberships page conditional displaying
Signed-off-by: Émile Ré <emile@getprobo.com>
This commit is contained in:
@@ -105,13 +105,11 @@ export function MembershipsPage(props: {
|
|||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
{memberships.length > 0 && (
|
{initialMemberships.length > 0 && (
|
||||||
<div className="space-y-3">
|
<div className="space-y-3">
|
||||||
{invitations.length > 0 && (
|
|
||||||
<h2 className="text-xl font-semibold">
|
<h2 className="text-xl font-semibold">
|
||||||
{__("Your organizations")}
|
{__("Your organizations")}
|
||||||
</h2>
|
</h2>
|
||||||
)}
|
|
||||||
<div className="w-full">
|
<div className="w-full">
|
||||||
<Input
|
<Input
|
||||||
icon={IconMagnifyingGlass}
|
icon={IconMagnifyingGlass}
|
||||||
|
|||||||
Reference in New Issue
Block a user