Fix null check
	
		
			
	
		
	
	
		
	
		
			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:
		| @@ -306,7 +306,7 @@ export class MapEffects { | |||||||
|       return this.itemService$.getLayerValue(action.itemLayer.item.code,action.itemLayer.layerIndex,action.x,action.y).pipe( |       return this.itemService$.getLayerValue(action.itemLayer.item.code,action.itemLayer.layerIndex,action.x,action.y).pipe( | ||||||
|         mergeMap((v: number) => { |         mergeMap((v: number) => { | ||||||
|           let a=[]; |           let a=[]; | ||||||
|           if(v) { |           if(v !== null) { | ||||||
|             if(l.renderer && l.renderer.colorMap && l.renderer.colorMap.colormapType == "manual") { |             if(l.renderer && l.renderer.colorMap && l.renderer.colorMap.colormapType == "manual") { | ||||||
|               l.renderer.colorMap.entries.forEach((e) => { |               l.renderer.colorMap.entries.forEach((e) => { | ||||||
|                   if(e.value == v) { |                   if(e.value == v) { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user