Изменил страницу "Кафедра",добавлена модалка с полями для создания записи в Кафедральный файлик

This commit is contained in:
alekan committed 2026-03-31 00:49:37 +03:00
1 parent 522bc97b8c
commit b14d937062
7 files changed
+544 -52

No files matched your search

+1
View File
@@ -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);