fix(navigation): ensure default route loads content

- Updated AuthNavigator to push /worker-main/home/ explicitly
- Updated StaffMainNavigator to navigate to home by default
- Fixes blank screen issue by ensuring RouterOutlet has a child route
This commit is contained in:
Achintha Isuru
2026-01-24 12:26:50 -05:00
parent b16d0733de
commit e2e7ad5567
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ extension StaffMainNavigator on IModularNavigator {
/// Navigates to the Staff Main Shell (Home).
/// This replaces the current navigation stack.
void navigateStaffMain() {
navigate('${StaffMainRoutes.modulePath}/');
navigate('${StaffMainRoutes.modulePath}/home/');
}
/// Navigates to the Shifts tab.