diff --git a/angular/projects/admin-nrpti/src/app/sidebar/sidebar.component.ts b/angular/projects/admin-nrpti/src/app/sidebar/sidebar.component.ts index a8fdcfea6..61d511bab 100644 --- a/angular/projects/admin-nrpti/src/app/sidebar/sidebar.component.ts +++ b/angular/projects/admin-nrpti/src/app/sidebar/sidebar.component.ts @@ -53,7 +53,7 @@ export class SidebarComponent implements OnDestroy { this.currentMenu = currentMenu && currentMenu.split(';')[0]; if (mainRoute === 'mines') { - if (mainRouteId && mainRouteId !== 'enforcement-actions') { + if (mainRouteId && !mainRouteId.includes('enforcement-actions')) { this.currentMineId = mainRouteId; try { this.currentMenu = currentMenu;