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