Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

Remove redundant attribute

Chocobozzzc55d76206cd4
diff --git a/client/src/app/core/routing/menu-guard.service.ts b/client/src/app/core/routing/menu-guard.service.ts
index 8c5bbfde92..58ad31cf4f 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'
import { ScreenService } from '../wrappers'
abstract class MenuGuard implements CanActivate, CanDeactivate<any> {
- display = true
canDeactivate = this.canActivate
- constructor (protected menu: MenuService, protected screen: ScreenService, display: boolean) {
- this.display = display
+ constructor (protected menu: MenuService, protected screen: ScreenService, protected display: boolean) {
+
}
canActivate (): boolean {