From 066e71c51731a4ed6614c9b406b6e670dfabd495 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Mon, 7 Nov 2022 11:23:15 +0100 Subject: [PATCH] Don't load group status when unlogged Signed-off-by: Thomas Citharel --- js/src/views/Group/GroupView.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/js/src/views/Group/GroupView.vue b/js/src/views/Group/GroupView.vue index 8c77d403..4e826a8f 100644 --- a/js/src/views/Group/GroupView.vue +++ b/js/src/views/Group/GroupView.vue @@ -716,6 +716,7 @@ const { result, subscribeToMore } = useQuery<{ () => ({ enabled: currentActor.value?.id !== undefined && + currentActor.value?.id !== null && group.value?.preferredUsername !== undefined && usernameWithDomain(group.value) !== "", })