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> <template>
<div class=""> <div class="">
<participation-section <participation-section
v-if="event && currentActor && identities && anonymousParticipationConfig" v-if="event && anonymousParticipationConfig"
:participation="participations[0]" :participation="participations[0]"
:event="event" :event="event"
:anonymousParticipation="anonymousParticipation" :anonymousParticipation="anonymousParticipation"

View file

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

View file

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