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