Fix for a technical bug, which prevents the proper usage of the expanded output event. (#3304)

This commit is contained in:
Popovics András
2018-05-10 17:34:59 +01:00
committed by Eugenio Romano
parent 8413bf2183
commit 14df79ae1b

View File

@@ -59,7 +59,6 @@ export class SidenavLayoutComponent implements OnInit, AfterViewInit, OnDestroy
};
constructor(private mediaMatcher: MediaMatcher) {
this.onMediaQueryChange = this.onMediaQueryChange.bind(this);
}
@@ -122,5 +121,6 @@ export class SidenavLayoutComponent implements OnInit, AfterViewInit, OnDestroy
onMediaQueryChange() {
this.isMenuMinimized = false;
this.expanded.emit(!this.isMenuMinimized);
}
}