Skip to content

Commit

Permalink
hiding mine details in sidebar when enforcement-actions showing (#851)
Browse files Browse the repository at this point in the history
  • Loading branch information
cameronpettit authored May 6, 2021
1 parent 0e5537a commit f16dd0b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit f16dd0b

Please sign in to comment.