Initial commit for teams module
This commit is contained in:
@@ -344,7 +344,7 @@ List<NavSection> _buildSections(String role) {
|
||||
),
|
||||
];
|
||||
|
||||
if (role == 'admin') {
|
||||
if (role == 'admin' || role == 'dispatcher') {
|
||||
return [
|
||||
NavSection(label: 'Operations', items: mainItems),
|
||||
NavSection(
|
||||
@@ -362,6 +362,12 @@ List<NavSection> _buildSections(String role) {
|
||||
icon: Icons.apartment_outlined,
|
||||
selectedIcon: Icons.apartment,
|
||||
),
|
||||
NavItem(
|
||||
label: 'IT Staff Teams',
|
||||
route: '/settings/teams',
|
||||
icon: Icons.groups_2_outlined,
|
||||
selectedIcon: Icons.groups_2,
|
||||
),
|
||||
NavItem(
|
||||
label: 'Logout',
|
||||
route: '',
|
||||
|
||||
Reference in New Issue
Block a user