AW-915 Use proper container (not just the first).
	
		
			
	
		
	
	
		
	
		
			All checks were successful
		
		
	
	
		
			
				
	
				FarmMaps.Develop/FarmMapsLib/develop This commit looks good
				
			
		
		
	
	
				
					
				
			
		
			All checks were successful
		
		
	
	FarmMaps.Develop/FarmMapsLib/develop This commit looks good
				
			This commit is contained in:
		| @@ -29,7 +29,8 @@ export class SelectedItemContainerComponent { | ||||
|       componentFactory = this.componentFactoryResolver.resolveComponentFactory(firstComponentWithTypeAndTask['constructor'] as any); | ||||
|     } else { | ||||
|       let firstComponentWithType = this.selectedItemComponents | ||||
|         .find(value => value['forItemType'] == this.item.itemType); | ||||
|         .find(value => value['forSourceTask'] == null && | ||||
|           value['forItemType'] == this.item.itemType); | ||||
|  | ||||
|       if (firstComponentWithType) { | ||||
|         componentFactory = this.componentFactoryResolver.resolveComponentFactory(firstComponentWithType['constructor'] as any); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user