Merge branch 'dev' of https://git.codelfi.com/TelemedPro/hgh_admin into dev
This commit is contained in:
@@ -48,7 +48,7 @@ const login = async () => {
|
||||
|
||||
try {
|
||||
store.dispatch('updateIsLoading', true)
|
||||
isLoading.value = true
|
||||
// isLoading.value = true
|
||||
const response = await axios.post(ADMIN_LOGIN_API, {
|
||||
email: credentials.value.email,
|
||||
password: credentials.value.password,
|
||||
@@ -70,7 +70,8 @@ const login = async () => {
|
||||
});
|
||||
} catch (error) {
|
||||
store.dispatch('updateIsLoading', false)
|
||||
isLoading.value = false
|
||||
errors.value.email = error.response.data.error
|
||||
// isLoading.value = false
|
||||
console.error(error);
|
||||
}
|
||||
// try {
|
||||
|
Reference in New Issue
Block a user