This commit is contained in:
2023-01-30 18:26:59 +01:00
parent 2960d1ffd8
commit d905fcc05c
3 changed files with 5 additions and 5 deletions
+4 -2
View File
@@ -81,7 +81,7 @@ export default defineComponent({
if (!e.response || e.response.status === undefined) {
this.store.alertMessage = 'Wystąpił błąd podczas łączenia z serwerem!';
return;
return false;
}
const response = e.response;
@@ -89,11 +89,13 @@ export default defineComponent({
if (status == 401) {
this.store.alertMessage = 'Nieprawidłowe dane!';
return;
return false;
}
this.store.alertMessage = 'Wystąpił błąd podczas łączenia z serwerem!';
}
return true;
},
},
});