Merge pull request #180 from dderbentsov/UC-162
[WIP] Задизейблил инпуты адресов и фикс удаления токена
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user