Merge pull request #180 from dderbentsov/UC-162

[WIP] Задизейблил инпуты адресов и фикс удаления токена
This commit is contained in:
frontgavrilin
2022-12-07 13:53:57 +03:00
committed by GitHub
8 changed files with 65 additions and 31 deletions

View File

@@ -139,8 +139,8 @@ export default {
}`
);
if (response.type === "client_error") {
localStorage.clear();
this.$router.push("/login");
localStorage.removeItem("tokenAccess");
return this.$router.push("/login");
} else {
this.saveDataClients(response);
this.saveClientsCount(response);