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

@@ -16,6 +16,6 @@ extension AuthNavigator on IModularNavigator {
/// Navigates to the worker home (external to this module).
void pushWorkerHome() {
pushNamed('/worker-home');
pushNamed('/worker-main/home/');
}
}