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

View file

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