From 610760465bb80f4e97ea214209e4302a023aeb9b Mon Sep 17 00:00:00 2001 From: Konstantinos Triantafyllou Date: Fri, 11 Dec 2020 18:40:00 +0000 Subject: [PATCH] [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 --- src/app/app.component.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/app/app.component.ts b/src/app/app.component.ts index d75f31a..85057a6 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -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 => {