forked from potsda.mn/mobilizon
Prevent loading group membership status before we get person information
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
231f99cd1e
commit
8efb17d78e
|
@ -716,7 +716,8 @@ const { result, subscribeToMore } = useQuery<{
|
|||
() => ({
|
||||
enabled:
|
||||
currentActor.value?.id !== undefined &&
|
||||
group.value?.preferredUsername !== undefined,
|
||||
group.value?.preferredUsername !== undefined &&
|
||||
usernameWithDomain(group.value) !== "",
|
||||
})
|
||||
);
|
||||
subscribeToMore<{ actorId: string; group: string }>({
|
||||
|
|
Loading…
Reference in a new issue