Revision 60121
Added by Konstantinos Triantafyllou almost 4 years ago
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
[Monitor Dashboard | Trunk]: Remove close sidebar command when a page has not sidebar