We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3178bea commit 88ea2dbCopy full SHA for 88ea2db
src/app/containers/default-layout/default-layout.component.ts
@@ -17,13 +17,13 @@ export class DefaultLayoutComponent implements OnDestroy {
17
this.changes = new MutationObserver((mutations) => {
18
this.sidebarMinimized = _document.body.classList.contains('sidebar-minimized');
19
});
20
-
+ this.element = _document.body;
21
this.changes.observe(<Element>this.element, {
22
attributes: true,
23
attributeFilter: ['class']
24
25
26
- this.element = _document.body;
+
27
}
28
29
ngOnDestroy(): void {
0 commit comments