mirror of https://github.com/Chocobozzz/PeerTube
Remove redundant attribute
parent
40a8c0a4c4
commit
c55d76206c
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue