update v6

This commit is contained in:
Mohit Panjwani
2022-01-10 19:33:59 +05:30
parent 1197215ff6
commit dcb3ddecb9
107 changed files with 406 additions and 397 deletions

View File

@ -603,13 +603,14 @@ async function setInitialData() {
}
async function submitCustomerData() {
if (customerStore.currentCustomer.email === '') {
v$.value.$touch()
if (v$.value.$invalid && customerStore.currentCustomer.email === '') {
notificationStore.showNotification({
type: 'error',
message: t('settings.notification.please_enter_email'),
})
}
v$.value.$touch()
if (v$.value.$invalid) {
return true