mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +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();
|
||||
};
|
||||
|
||||
if (!result) {
|
||||
if (!result?.count) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue