mirror of
https://github.com/umami-software/umami.git
synced 2026-02-12 16:45:35 +01:00
Hide teams button if no teams.
This commit is contained in:
parent
eb5923a82d
commit
0260ec57ea
1 changed files with 1 additions and 1 deletions
|
|
@ -23,7 +23,7 @@ export function TeamsButton({
|
||||||
close();
|
close();
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!result) {
|
if (!result?.count) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue