Новые глобабальные правки
This commit is contained in:
parent
b5b31f8a88
commit
36a3d37ad3
8 changed files with 35 additions and 26 deletions
|
|
@ -374,7 +374,8 @@ import { COMPANY } from "@constants";
|
|||
localStorage.removeItem('auth_token');
|
||||
localStorage.removeItem('user');
|
||||
document.querySelector('.header-right')?.classList.remove('auth-active');
|
||||
window.location.href = '/';
|
||||
// Редирект на текущую страницу
|
||||
window.location.href = window.location.pathname + window.location.search + window.location.hash;
|
||||
});
|
||||
|
||||
// Добавляем класс для изменения порядка
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue