title-image popup in event view

3rd step
This commit is contained in:
jona 2023-03-23 12:32:33 +01:00
parent 81076d9248
commit f54a90d79d

12
js/src/views/Event/Event.vue Executable file → Normal file
View file

@ -453,6 +453,18 @@
</section>
</div>
</b-modal>
<b-modal
:close-button-aria-label="$t('Close')"
class="map-modal"
v-if="event.picture"
:active.sync="showImage"
has-modal-card
:can-cancel="['escape', 'outside']"
>
<template #default="props">
<event-headline :image="event.picture.url" @close="props.close" />
</template>
</b-modal>
<b-modal
:close-button-aria-label="$t('Close')"
class="map-modal"