[Monitor Dashboard | Trunk]: Remove close sidebar command when a page has not sidebar
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@60121 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
32e1156c0f
commit
610760465b
|
@ -89,9 +89,6 @@ export class AppComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
this.subscriptions.push(this.layoutService.hasSidebar.subscribe(hasSidebar => {
|
||||
this.hasSidebar = hasSidebar;
|
||||
if (this.hasSidebar === false) {
|
||||
this.layoutService.setOpen(false);
|
||||
}
|
||||
this.cdr.detectChanges();
|
||||
}));
|
||||
this.subscriptions.push(this.layoutService.hasHeader.subscribe(hasHeader => {
|
||||
|
|
Loading…
Reference in New Issue