diff --git a/src/components/FormDialog.vue b/src/components/FormDialog.vue index ca4996e0..09fc96f1 100644 --- a/src/components/FormDialog.vue +++ b/src/components/FormDialog.vue @@ -7,8 +7,8 @@ import useAddressStore from 'stores/address'; defineProps<{ title: string; - addressTitle: string; - addressENTitle: string; + addressTitle?: string; + addressENTitle?: string; submit?: (...args: unknown[]) => void; close?: (...args: unknown[]) => void; }>(); @@ -143,7 +143,7 @@ onMounted(async () => { >
- {{ addressTitle }} + {{ $t(addressTitle || 'address') }}
{ class="col-3" v-model="zipCode" /> - - {{ addressENTitle }} - + {{ $t(addressTitle || 'address') }} EN