mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-22 01:46:58 +01:00
Hide teams button if no teams.
This commit is contained in:
parent
eb5923a82d
commit
0260ec57ea
@ -23,7 +23,7 @@ export function TeamsButton({
|
|||||||
close();
|
close();
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!result) {
|
if (!result?.count) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user