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>
|
<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"
|
||||||
|
|
|
@ -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([
|
||||||
|
|
|
@ -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;
|
||||||
}>(),
|
}>(),
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue