Skip to content

Commit

Permalink
fixed page switch from side menu #978
Browse files Browse the repository at this point in the history
  • Loading branch information
unocelli committed Nov 24, 2023
1 parent 9e6c9ad commit 6bc1d88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/app/home/home.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ export class HomeComponent implements OnInit, AfterViewInit, OnDestroy {
if (viewId === this.viewAsAlarms) {
this.onAlarmsShowMode('expand');
this.checkToCloseSideNav();
} else if (this.homeView && viewId !== this.homeView.id || force || !this.homeView) {
} else if (!this.homeView || viewId !== this.homeView?.id || force || this.fuxaview.view?.id !== viewId) {
const view = this.hmi.views.find(x => x.id === viewId);
this.setIframe();
this.showHomeLink = false;
Expand Down

0 comments on commit 6bc1d88

Please sign in to comment.