addpersons modal title from outside component

This commit is contained in:
2021-05-10 21:41:40 +02:00
parent e0b689174a
commit 162b0099b2
3 changed files with 8 additions and 6 deletions

View File

@@ -9,7 +9,7 @@
@close="modal.showModal = false">
<template v-slot:header>
<h3 class="modal-title">{{ $t('add_persons.title') }}</h3>
<h3 class="modal-title">{{ $t(modalTitle) }}</h3>
</template>
<template v-slot:body-head>
@@ -90,7 +90,8 @@ export default {
PersonSuggestion,
},
props: [
'buttonTitle',
'buttonTitle',
'modalTitle',
'options'
],
emits: ['addNewPersons'],