[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:
Konstantinos Triantafyllou 2020-12-11 18:40:00 +00:00
parent 32e1156c0f
commit 610760465b
1 changed files with 0 additions and 3 deletions

View File

@ -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 => {