aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-10-11 14:55:06 +0200
committerChocobozzz <me@florianbigard.com>2021-10-11 14:55:06 +0200
commitc55d76206cd462bad7eadd0c96f1ef5b3c629f9f (patch)
treeaaf968190ea8c856d1fd28d312afa74ab42fc64c /client/src/app
parent40a8c0a4c4f654ba720ece6219816ad9c4fb9f5e (diff)
downloadPeerTube-c55d76206cd462bad7eadd0c96f1ef5b3c629f9f.tar.gz
PeerTube-c55d76206cd462bad7eadd0c96f1ef5b3c629f9f.tar.zst
PeerTube-c55d76206cd462bad7eadd0c96f1ef5b3c629f9f.zip
Remove redundant attribute
Diffstat (limited to 'client/src/app')
-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 {