Update sidebar menu
Deploy Frontend / build-and-deploy (push) Successful in 43s Details

This commit is contained in:
romanskijdev 2026-10-20 17:38:14 +03:00
parent 0262cdef48
commit 6fa1b1742e
1 changed files with 4 additions and 4 deletions

View File

@ -47,10 +47,10 @@ const menuItems: MenuItem[] = [
label: 'Система согласований',
icon: IconFileCheck,
children: [
{ label: 'Панель управления', icon: IconDashboard, path: '/approval-dash' },
{ label: 'Панель управления', icon: IconDashboard, path: '/approval-dash', adminOnly: true },
{ label: 'Заявки', icon: IconList, path: '/approvals' },
{ label: 'Задачи', icon: IconCheck, path: '/approval-tasks' },
{ label: 'Пользователи', icon: IconUsers, path: '/users' },
{ label: 'Пользователи', icon: IconUsers, path: '/users', adminOnly: true },
{ label: 'Отделы', icon: IconBuilding, path: '/departments', adminOnly: true },
{ label: 'Роли', icon: IconShield, path: '/roles', adminOnly: true },
{ label: 'Права', icon: IconKey, path: '/permissions', adminOnly: true },
@ -60,8 +60,8 @@ const menuItems: MenuItem[] = [
adminOnly: true,
children: [
// { label: 'Категории', icon: IconCategory, path: '/categories' },
{ label: 'Настройки тем', icon: IconBriefcase, path: '/topics' },
{ label: 'Исполнители', icon: IconUserCheck, path: '/executors' },
{ label: 'Настройки тем', icon: IconBriefcase, path: '/topics', adminOnly: true },
{ label: 'Исполнители', icon: IconUserCheck, path: '/executors', adminOnly: true },
]
},
{ label: 'Конструктор тем', icon: IconBlocks, path: '/nodes', adminOnly: true },