Skip to content

armgit / umami

Public Imported from GitHub
0

Umami is a privacy-first web and product analytics platform. Traffic, campaigns, behavior, conversions, and revenue in one place. No cookies, no surveillance, self-hosted or in the cloud.

Allow view-only to still join team Closes #3764

Francis Cao94321192b813
diff --git a/src/app/(main)/teams/TeamsHeader.tsx b/src/app/(main)/teams/TeamsHeader.tsx
index 053fbe26a..c45bc85cf 100644
--- a/src/app/(main)/teams/TeamsHeader.tsx
+++ b/src/app/(main)/teams/TeamsHeader.tsx
@@ -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>