forked from potsda.mn/mobilizon
Fix anonymous/remote participation button
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
dc075ccf0d
commit
2464134977
|
@ -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"
|
||||
|
|
|
@ -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([
|
||||
|
|
|
@ -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;
|
||||
}>(),
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue