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:
		@@ -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'])
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user