Fix editing unidentified type
	
		
			
	
		
	
	
		
	
		
			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:
		| @@ -109,8 +109,11 @@ export class AppCommonEffects { | ||||
|       withLatestFrom(this.store$.select(appCommonReducers.selectGetItemTypes)), | ||||
|       switchMap(([action, itemtypes]) => { | ||||
|         var a = action as appCommonActions.EditItem; | ||||
|         var itemType = itemtypes[a.item.itemType]; | ||||
|         var editor = itemType.editor ? itemType.editor : "property"; | ||||
|         var editor =  "property"; | ||||
|         if(a.item.itemType) { | ||||
|           var itemType = itemtypes[a.item.itemType]; | ||||
|           var editor = itemType.editor ? itemType.editor : editor;   | ||||
|         } | ||||
|       this.router$.navigate(['/editor',editor,'item', a.item.code]) | ||||
|       return []; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user