Project

General

Profile

« Previous | Next » 

Revision 60121

[Monitor Dashboard | Trunk]: Remove close sidebar command when a page has not sidebar

View differences:

modules/uoa-monitor-portal/trunk/monitor_dashboard/src/app/app.component.ts
89 89
    }
90 90
    this.subscriptions.push(this.layoutService.hasSidebar.subscribe(hasSidebar => {
91 91
      this.hasSidebar = hasSidebar;
92
      if (this.hasSidebar === false) {
93
        this.layoutService.setOpen(false);
94
      }
95 92
      this.cdr.detectChanges();
96 93
    }));
97 94
    this.subscriptions.push(this.layoutService.hasHeader.subscribe(hasHeader => {

Also available in: Unified diff