From bd43815fbf1daf47d2275eb385dd38e67e1ba739 Mon Sep 17 00:00:00 2001 From: Massedil Date: Tue, 17 Jun 2025 16:53:50 +0200 Subject: [PATCH] fix: subscribing to an event with a different profile correctly updates the UI Fixes: #1789 --- src/components/Event/EventActionSection.vue | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/components/Event/EventActionSection.vue b/src/components/Event/EventActionSection.vue index a7b855ff4..89596cefa 100644 --- a/src/components/Event/EventActionSection.vue +++ b/src/components/Event/EventActionSection.vue @@ -413,7 +413,7 @@ const { identities } = useCurrentUserIdentities(); const event = computed(() => props.event); -const identity = ref(null); +const identity = computed(() => props.currentActor); const ableToReport = computed((): boolean => { return ( @@ -848,8 +848,6 @@ const cancelAnonymousParticipation = async (): Promise => { }; onMounted(async () => { - identity.value = props.currentActor; - try { if (window.isSecureContext) { anonymousParticipation.value = await anonymousParticipationConfirmed();