Изменил страницу "Кафедра",добавлена модалка с полями для создания записи в Кафедральный файлик
This commit is contained in:
1 parent
522bc97b8c
commit
b14d937062
7 files changed
+544
-52
No files matched your search
@@ -143,6 +143,7 @@
|
||||
|
||||
if (data.token) localStorage.setItem('token', data.token);
|
||||
if (data.role) localStorage.setItem('role', data.role);
|
||||
if (data.departmentId) localStorage.setItem('departmentId', data.departmentId);
|
||||
|
||||
const redirect = data.redirect || '/';
|
||||
setTimeout(() => { window.location.href = redirect; }, 400);
|
||||
|
||||
Reference in new issue
Block a user