1
0
Fork 0

Remove redundant attribute

This commit is contained in:
Chocobozzz 2021-10-11 14:55:06 +02:00
parent 40a8c0a4c4
commit c55d76206c
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 2 additions and 3 deletions

View File

@ -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 {