Update sidebar menu
Deploy Frontend / build-and-deploy (push) Successful in 43s
Details
Deploy Frontend / build-and-deploy (push) Successful in 43s
Details
This commit is contained in:
parent
0262cdef48
commit
6fa1b1742e
|
|
@ -47,10 +47,10 @@ const menuItems: MenuItem[] = [
|
||||||
label: 'Система согласований',
|
label: 'Система согласований',
|
||||||
icon: IconFileCheck,
|
icon: IconFileCheck,
|
||||||
children: [
|
children: [
|
||||||
{ label: 'Панель управления', icon: IconDashboard, path: '/approval-dash' },
|
{ label: 'Панель управления', icon: IconDashboard, path: '/approval-dash', adminOnly: true },
|
||||||
{ label: 'Заявки', icon: IconList, path: '/approvals' },
|
{ label: 'Заявки', icon: IconList, path: '/approvals' },
|
||||||
{ label: 'Задачи', icon: IconCheck, path: '/approval-tasks' },
|
{ 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: IconBuilding, path: '/departments', adminOnly: true },
|
||||||
{ label: 'Роли', icon: IconShield, path: '/roles', adminOnly: true },
|
{ label: 'Роли', icon: IconShield, path: '/roles', adminOnly: true },
|
||||||
{ label: 'Права', icon: IconKey, path: '/permissions', adminOnly: true },
|
{ label: 'Права', icon: IconKey, path: '/permissions', adminOnly: true },
|
||||||
|
|
@ -60,8 +60,8 @@ const menuItems: MenuItem[] = [
|
||||||
adminOnly: true,
|
adminOnly: true,
|
||||||
children: [
|
children: [
|
||||||
// { label: 'Категории', icon: IconCategory, path: '/categories' },
|
// { label: 'Категории', icon: IconCategory, path: '/categories' },
|
||||||
{ label: 'Настройки тем', icon: IconBriefcase, path: '/topics' },
|
{ label: 'Настройки тем', icon: IconBriefcase, path: '/topics', adminOnly: true },
|
||||||
{ label: 'Исполнители', icon: IconUserCheck, path: '/executors' },
|
{ label: 'Исполнители', icon: IconUserCheck, path: '/executors', adminOnly: true },
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
{ label: 'Конструктор тем', icon: IconBlocks, path: '/nodes', adminOnly: true },
|
{ label: 'Конструктор тем', icon: IconBlocks, path: '/nodes', adminOnly: true },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue