Fix anonymous/remote participation button

Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
Thomas Citharel 2022-10-31 18:54:21 +01:00
parent dc075ccf0d
commit 2464134977
No known key found for this signature in database
GPG Key ID: A061B9DDE0CA0773
3 changed files with 5 additions and 5 deletions

View File

@ -1,7 +1,7 @@
<template>
<div class="">
<participation-section
v-if="event && currentActor && identities && anonymousParticipationConfig"
v-if="event && anonymousParticipationConfig"
:participation="participations[0]"
:event="event"
:anonymousParticipation="anonymousParticipation"

View File

@ -165,8 +165,8 @@ import TimerSandEmpty from "vue-material-design-icons/TimerSandEmpty.vue";
const props = defineProps<{
participation: IParticipant | undefined;
event: IEvent;
currentActor: IPerson;
identities: IPerson[];
currentActor: IPerson | undefined;
identities: IPerson[] | undefined;
}>();
const emit = defineEmits([

View File

@ -138,8 +138,8 @@ const props = withDefaults(
participation: IParticipant | undefined;
event: IEvent;
anonymousParticipation?: boolean | null;
currentActor: IPerson;
identities: IPerson[];
currentActor: IPerson | undefined;
identities: IPerson[] | undefined;
anonymousParticipationConfig: IAnonymousParticipationConfig;
}>(),
{