This commit is contained in:
@@ -111,13 +111,13 @@ const SideMenu = () => {
|
||||
name: 'Transportation',
|
||||
icon: <BusFront color="#777" size={14}/>,
|
||||
collapsed: false,
|
||||
roleFunc: AuthService.canAddOrEditVechiles,
|
||||
roleFunc: () => AuthService.canViewVechiles() || AuthService.canViewRoutes() || AuthService.canViewRouteTemplates() || AuthService.canViewMedicalEvents(),
|
||||
subNavs: [
|
||||
{
|
||||
name: 'Vehicle Information',
|
||||
link: '/vehicles/list',
|
||||
category: '/vehicles',
|
||||
roleFunc: AuthService.canAddOrEditVechiles
|
||||
roleFunc: AuthService.canViewVechiles
|
||||
// subNavs: [
|
||||
// {
|
||||
// name: 'Vehicles List',
|
||||
|
||||
Reference in New Issue
Block a user