Verified Commit c55d7620 authored by Chocobozzz's avatar Chocobozzz
Browse files

Remove redundant attribute

parent 40a8c0a4
......@@ -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 {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment