Skip to content

Commit

Permalink
Added missing AutoLoginPartialRoutesGuard and page title to dashboard…
Browse files Browse the repository at this point in the history
… route
  • Loading branch information
rmaffitsancsoft committed Jun 26, 2024
1 parent 9d0b901 commit 7598268
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/angular/hq/src/app/app.routes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -424,7 +424,8 @@ export const routes: Routes = [
},
{
path: 'dashboard',
canActivate: [userRoleGuard(HQRole.Staff)],
title: 'Dashboard',
canActivate: [AutoLoginPartialRoutesGuard, userRoleGuard(HQRole.Staff)],
loadComponent: () =>
import('./staff-dashboard/staff-dashboard.component').then(
(m) => m.StaffDashboardComponent,
Expand Down

0 comments on commit 7598268

Please sign in to comment.