refactor: Change the conditions for adding customer

This commit is contained in:
Net 2024-08-29 20:24:10 +07:00
parent afde232ab4
commit e1ea4d4b71

View file

@ -1690,7 +1690,7 @@ const emptyCreateDialog = ref(false);
@trigger="
() => {
createCustomerForm(
i.text === 'customerLegalEntity' ? 'CORP' : 'PERS',
i.text === 'customer.employerLegalEntity' ? 'CORP' : 'PERS',
);
emptyCreateDialog = false;
}