From 9328df21031f2b2f6beb5c495b249977ddfd2948 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Tue, 29 Nov 2022 08:28:48 +0100 Subject: [PATCH] Fix editing group events Closes #1222 Signed-off-by: Thomas Citharel --- js/src/views/Event/EventView.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/src/views/Event/EventView.vue b/js/src/views/Event/EventView.vue index ca58324d2..2d5b2015d 100755 --- a/js/src/views/Event/EventView.vue +++ b/js/src/views/Event/EventView.vue @@ -344,10 +344,12 @@ const participations = computed( () => participationsResult.value?.person.participations?.elements ?? [] ); -const { person } = usePersonStatusGroup( +const groupFederatedUsername = computed(() => usernameWithDomain(event.value?.attributedTo) ); +const { person } = usePersonStatusGroup(groupFederatedUsername); + const { eventCategories } = useEventCategories(); // metaInfo() {