mirror of
https://github.com/sartography/cr-connect-bpmn.git
synced 2025-02-17 02:47:16 +00:00
Removes unnecessary OnInit
This commit is contained in:
parent
8db40d24d0
commit
c5678e6a12
@ -16,7 +16,7 @@ interface NavItem {
|
|||||||
templateUrl: './navbar.component.html',
|
templateUrl: './navbar.component.html',
|
||||||
styleUrls: ['./navbar.component.scss']
|
styleUrls: ['./navbar.component.scss']
|
||||||
})
|
})
|
||||||
export class NavbarComponent implements OnInit {
|
export class NavbarComponent {
|
||||||
navLinks: NavItem[];
|
navLinks: NavItem[];
|
||||||
user: User;
|
user: User;
|
||||||
isSignedIn = isSignedIn;
|
isSignedIn = isSignedIn;
|
||||||
@ -28,9 +28,6 @@ export class NavbarComponent implements OnInit {
|
|||||||
this._loadUser();
|
this._loadUser();
|
||||||
}
|
}
|
||||||
|
|
||||||
ngOnInit() {
|
|
||||||
}
|
|
||||||
|
|
||||||
isLinkActive(path: string) {
|
isLinkActive(path: string) {
|
||||||
return path === this.router.url;
|
return path === this.router.url;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user