aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/routing/menu-guard.service.ts
diff options
context:
space:
mode:
Diffstat (limited to 'client/src/app/core/routing/menu-guard.service.ts')
-rw-r--r--client/src/app/core/routing/menu-guard.service.ts3
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 @@
1import { Injectable } from '@angular/core' 1import { Injectable } from '@angular/core'
2import { CanActivate, CanDeactivate } from '@angular/router'
3import { MenuService } from '../menu' 2import { MenuService } from '../menu'
4import { ScreenService } from '../wrappers' 3import { ScreenService } from '../wrappers'
5 4
6abstract class MenuGuard implements CanActivate, CanDeactivate<any> { 5abstract 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) {