Skip to content

Commit

Permalink
Fixed bad selection of sidebar element #112
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaugarcia committed Mar 7, 2018
1 parent c12b959 commit a033cb4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ export class PropertiesComponent implements OnInit {
(res: HttpErrorResponse) => this.onError(res.message)
);
}

ngOnInit() {
this.loadAll();
this.principal.identity().then((account) => {
Expand All @@ -81,8 +82,6 @@ export class PropertiesComponent implements OnInit {
} else {
event.path[1].classList.add("show");
}


}

private onSuccess(data, headers) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<h3>Property management</h3>
<ul class="nav flex-column">
<li class="nav-item">
<a routerLink="/dashboard" routerLinkActive="active" class="nav-link">
<a routerLink="/dashboard" routerLinkActive="active" [routerLinkActiveOptions]="{ exact: true }" class="nav-link">
<i class="fa fa-tachometer"></i><span>Dashboard</span>
</a>
</li>
Expand Down

0 comments on commit a033cb4

Please sign in to comment.