Update Shell.tsx
This commit is contained in:
parent
701dfbe2f5
commit
d574936986
@ -23,8 +23,8 @@ type NavItem = { to: string; label: string; icon: SvgIconComponent; allowed: (me
|
|||||||
|
|
||||||
const NAV: NavItem[] = [
|
const NAV: NavItem[] = [
|
||||||
{ to: '/sites', label: 'Мои объекты', icon: ApartmentIcon, allowed: (me, can) => !!me.organization && can('sites.view') },
|
{ to: '/sites', label: 'Мои объекты', icon: ApartmentIcon, allowed: (me, can) => !!me.organization && can('sites.view') },
|
||||||
{ to: '/schedule', label: 'График обходов', icon: CalendarMonthIcon, allowed: (me, can) => !!me.organization && can('sites.view') },
|
|
||||||
{ to: '/routes', label: 'Маршруты', icon: RouteIcon, allowed: (me, can) => !!me.organization && can('sites.view') },
|
{ to: '/routes', label: 'Маршруты', icon: RouteIcon, allowed: (me, can) => !!me.organization && can('sites.view') },
|
||||||
|
{ to: '/schedule', label: 'График обходов', icon: CalendarMonthIcon, allowed: (me, can) => !!me.organization && can('sites.view') },
|
||||||
{
|
{
|
||||||
to: '/reports',
|
to: '/reports',
|
||||||
label: 'Отчёты',
|
label: 'Отчёты',
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user