Don't load group status when unlogged
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -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) !== "",
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user