Add getScaledValueto both
	
		
			
	
		
	
	
		
	
		
			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:
		| @@ -12,6 +12,14 @@ export abstract class AbstractItemListItemComponent { | ||||
|  | ||||
|   constructor(public store: Store<mapReducers.State | commonReducers.State>, public itemTypeService: ItemTypeService) { | ||||
|   }  | ||||
|  | ||||
|   getScaledValue(value:number,scale:number = 0):number { | ||||
|     let v = value; | ||||
|     if(scale && scale != 0) { | ||||
|       v=scale*value; | ||||
|     } | ||||
|     return v; | ||||
|   } | ||||
| } | ||||
|  | ||||
| @Injectable() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user