Wait for item types to be loaded
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
All checks were successful
FarmMaps.Develop/FarmMapsLib/pipeline/head This commit looks good
This commit is contained in:
parent
f2cb5d4d64
commit
6dccaa8ce5
@ -101,6 +101,10 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||
return action;
|
||||
}
|
||||
|
||||
async loadItemTypes() {
|
||||
await this.itemTypeService$.load(this.appConfig$)
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.InstallRouteEventHandler();
|
||||
this.InstallEventServiceEventHandler();
|
||||
@ -108,7 +112,7 @@ export class AppComponent implements OnInit, OnDestroy {
|
||||
this.InstallHealthCheck();
|
||||
|
||||
//load item types
|
||||
this.itemTypeService$.load(this.appConfig$)
|
||||
this.loadItemTypes();
|
||||
}
|
||||
|
||||
@HostListener('document:keyup', ['$event'])
|
||||
|
Loading…
Reference in New Issue
Block a user