diff options
Diffstat (limited to 'client/src/app/core/routing/menu-guard.service.ts')
-rw-r--r-- | client/src/app/core/routing/menu-guard.service.ts | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/client/src/app/core/routing/menu-guard.service.ts b/client/src/app/core/routing/menu-guard.service.ts index 58ad31cf4..765862b59 100644 --- a/client/src/app/core/routing/menu-guard.service.ts +++ b/client/src/app/core/routing/menu-guard.service.ts | |||
@@ -1,9 +1,8 @@ | |||
1 | import { Injectable } from '@angular/core' | 1 | import { Injectable } from '@angular/core' |
2 | import { CanActivate, CanDeactivate } from '@angular/router' | ||
3 | import { MenuService } from '../menu' | 2 | import { MenuService } from '../menu' |
4 | import { ScreenService } from '../wrappers' | 3 | import { ScreenService } from '../wrappers' |
5 | 4 | ||
6 | abstract class MenuGuard implements CanActivate, CanDeactivate<any> { | 5 | abstract class MenuGuard { |
7 | canDeactivate = this.canActivate | 6 | canDeactivate = this.canActivate |
8 | 7 | ||
9 | constructor (protected menu: MenuService, protected screen: ScreenService, protected display: boolean) { | 8 | constructor (protected menu: MenuService, protected screen: ScreenService, protected display: boolean) { |