Skip to content

Commit

Permalink
Remove redundant attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocobozzz committed Oct 11, 2021
1 parent 40a8c0a commit c55d762
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions client/src/app/core/routing/menu-guard.service.ts
Expand Up @@ -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 {
Expand Down

0 comments on commit c55d762

Please sign in to comment.