mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-25 09:22:22 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -716,7 +716,8 @@ const { result, subscribeToMore } = useQuery<{
|
||||||
() => ({
|
() => ({
|
||||||
enabled:
|
enabled:
|
||||||
currentActor.value?.id !== undefined &&
|
currentActor.value?.id !== undefined &&
|
||||||
group.value?.preferredUsername !== undefined,
|
group.value?.preferredUsername !== undefined &&
|
||||||
|
usernameWithDomain(group.value) !== "",
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
subscribeToMore<{ actorId: string; group: string }>({
|
subscribeToMore<{ actorId: string; group: string }>({
|
||||||
|
|
Loading…
Reference in a new issue