fix: title

This commit is contained in:
Methapon2001 2024-08-06 09:37:15 +07:00
parent 9a4282393f
commit a57171aea3

View file

@ -1680,7 +1680,11 @@ function createCustomerForm(customerType: 'CORP' | 'PERS') {
<DialogForm
v-model:modal="customerFormState.dialogModal"
:title="$t('form.title.create', { name: 'Employer' })"
:title="
$t(`form.title.${customerFormState.dialogType}`, {
name: $t('customer.employer'),
})
"
:edit="customerFormState.dialogType === 'edit'"
:isEdit="customerFormState.editReadonly === false"
:undo="() => customerFormUndo()"