mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Allow view-only to still join team
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Some checks are pending
Node.js CI / build (postgresql, 18.18, 10) (push) Waiting to run
Closes #3764
This commit is contained in:
parent
ffa97d34e2
commit
94321192b8
1 changed files with 1 additions and 1 deletions
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue