+++
This commit is contained in:
@@ -83,6 +83,12 @@ function showMainInterface() {
|
||||
|
||||
document.getElementById('current-user').textContent = userInfo;
|
||||
|
||||
// 👇 СОЗДАЕМ НАВИГАЦИЮ ПОСЛЕ УСТАНОВКИ ПОЛЬЗОВАТЕЛЯ 👇
|
||||
if (typeof createNavigation === 'function') {
|
||||
console.log('🔄 Создание навигации для пользователя:', currentUser.role);
|
||||
createNavigation();
|
||||
}
|
||||
|
||||
document.getElementById('tasks-controls').style.display = 'block';
|
||||
|
||||
const showDeletedLabel = document.querySelector('.show-deleted-label');
|
||||
|
||||
Reference in New Issue
Block a user