aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/core/routing/menu-guard.service.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2023-05-23 11:15:00 +0200
committerChocobozzz <me@florianbigard.com>2023-05-23 11:27:09 +0200
commit52798aa5f277492d4dd2482bca9396d2e982fa19 (patch)
treec3b8057acf3860aacc92743b9d92214ad0364fcb /client/src/app/core/routing/menu-guard.service.ts
parentf89189907bbdff6c4bc6d3460ed9ef4c49515f17 (diff)
downloadPeerTube-52798aa5f277492d4dd2482bca9396d2e982fa19.tar.gz
PeerTube-52798aa5f277492d4dd2482bca9396d2e982fa19.tar.zst
PeerTube-52798aa5f277492d4dd2482bca9396d2e982fa19.zip
Update angular
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) {