diff options
author | Chocobozzz <me@florianbigard.com> | 2021-10-11 14:55:06 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2021-10-11 14:55:06 +0200 |
commit | c55d76206cd462bad7eadd0c96f1ef5b3c629f9f (patch) | |
tree | aaf968190ea8c856d1fd28d312afa74ab42fc64c /client/src | |
parent | 40a8c0a4c4f654ba720ece6219816ad9c4fb9f5e (diff) | |
download | PeerTube-c55d76206cd462bad7eadd0c96f1ef5b3c629f9f.tar.gz PeerTube-c55d76206cd462bad7eadd0c96f1ef5b3c629f9f.tar.zst PeerTube-c55d76206cd462bad7eadd0c96f1ef5b3c629f9f.zip |
Remove redundant attribute
Diffstat (limited to 'client/src')
-rw-r--r-- | client/src/app/core/routing/menu-guard.service.ts | 5 |
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' | |||
4 | import { ScreenService } from '../wrappers' | 4 | import { ScreenService } from '../wrappers' |
5 | 5 | ||
6 | abstract class MenuGuard implements CanActivate, CanDeactivate<any> { | 6 | abstract 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 { |