Initial commit for teams module

This commit is contained in:
2026-02-12 06:58:18 +08:00
parent 678a73a696
commit a80f09b9c0
7 changed files with 547 additions and 1 deletions
+7 -1
View File
@@ -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: '',