Don't load group status when unlogged

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-11-07 11:23:15 +01:00
parent 97895d515b
commit 066e71c517
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
1 changed files with 1 additions and 0 deletions

View File

@ -716,6 +716,7 @@ const { result, subscribeToMore } = useQuery<{
() => ({
enabled:
currentActor.value?.id !== undefined &&
currentActor.value?.id !== null &&
group.value?.preferredUsername !== undefined &&
usernameWithDomain(group.value) !== "",
})