Allow view-only to still join team
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run

Closes #3764
This commit is contained in:
Francis Cao 2025-11-21 14:43:58 -08:00
parent ffa97d34e2
commit 94321192b8

View file

@ -18,7 +18,7 @@ export function TeamsHeader({
return (
<PageHeader title={formatMessage(labels.teams)}>
<Row gap="3">
{allowJoin && user.role !== ROLES.viewOnly && <TeamsJoinButton />}
{allowJoin && <TeamsJoinButton />}
{allowCreate && user.role !== ROLES.viewOnly && <TeamsAddButton />}
</Row>
</PageHeader>