[pricelist] fix update volume when ingredients changed
This commit is contained in:
		
							parent
							
								
									8b21ccf978
								
							
						
					
					
						commit
						a376fd7cc2
					
				|  | @ -211,6 +211,7 @@ export default defineComponent({ | |||
|       const index = volumes.value.findIndex((a) => a.id === _volume.id); | ||||
|       if (index > -1) { | ||||
|         volumes.value[index].volume = calc_volume(_volume); | ||||
|         volumes.value[index]._volume = <number>volumes.value[index].volume; | ||||
|       } | ||||
|       change(); | ||||
|       setTimeout(() => { | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue