mirror of
https://github.com/BradNut/umami
synced 2025-09-08 17:40:29 +00: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();
|
||||
};
|
||||
|
||||
if (!result) {
|
||||
if (!result?.count) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue