aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--client/src/app/core/routing/menu-guard.service.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/client/src/app/core/routing/menu-guard.service.ts b/client/src/app/core/routing/menu-guard.service.ts
index 8c5bbfde9..58ad31cf4 100644
--- a/client/src/app/core/routing/menu-guard.service.ts
+++ b/client/src/app/core/routing/menu-guard.service.ts
@@ -4,11 +4,10 @@ import { MenuService } from '../menu'
4import { ScreenService } from '../wrappers' 4import { ScreenService } from '../wrappers'
5 5
6abstract class MenuGuard implements CanActivate, CanDeactivate<any> { 6abstract class MenuGuard implements CanActivate, CanDeactivate<any> {
7 display = true
8 canDeactivate = this.canActivate 7 canDeactivate = this.canActivate
9 8
10 constructor (protected menu: MenuService, protected screen: ScreenService, display: boolean) { 9 constructor (protected menu: MenuService, protected screen: ScreenService, protected display: boolean) {
11 this.display = display 10
12 } 11 }
13 12
14 canActivate (): boolean { 13 canActivate (): boolean {