mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-17 15:03:07 +00:00
header, isNavBarCollapsed observable: filter out undefined state that can occur when using AoT compilation
This commit is contained in:
@@ -37,6 +37,13 @@ export class AppComponent implements OnDestroy, OnInit {
|
||||
translate.setDefaultLang('en');
|
||||
// the lang to use, if the lang isn't available, it will use the current loader to get them
|
||||
translate.use('en');
|
||||
|
||||
this.onResize({
|
||||
target: {
|
||||
innerWidth: 800,
|
||||
innerHeight: 600
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
|
Reference in New Issue
Block a user