Новые глобабальные правки

This commit is contained in:
Web-serfer 2026-04-18 21:07:30 +05:00
parent b5b31f8a88
commit 36a3d37ad3
8 changed files with 35 additions and 26 deletions

View file

@ -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;
});
// Добавляем класс для изменения порядка