mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Fix for a technical bug, which prevents the proper usage of the expanded output event. (#3304)
This commit is contained in:
committed by
Eugenio Romano
parent
8413bf2183
commit
14df79ae1b
@@ -59,7 +59,6 @@ export class SidenavLayoutComponent implements OnInit, AfterViewInit, OnDestroy
|
|||||||
};
|
};
|
||||||
|
|
||||||
constructor(private mediaMatcher: MediaMatcher) {
|
constructor(private mediaMatcher: MediaMatcher) {
|
||||||
|
|
||||||
this.onMediaQueryChange = this.onMediaQueryChange.bind(this);
|
this.onMediaQueryChange = this.onMediaQueryChange.bind(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -122,5 +121,6 @@ export class SidenavLayoutComponent implements OnInit, AfterViewInit, OnDestroy
|
|||||||
|
|
||||||
onMediaQueryChange() {
|
onMediaQueryChange() {
|
||||||
this.isMenuMinimized = false;
|
this.isMenuMinimized = false;
|
||||||
|
this.expanded.emit(!this.isMenuMinimized);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user