From a376fd7cc202ff7ebf2e3862cfe64a563ee9f129 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tim=20Gr=C3=B6ger?= Date: Thu, 15 Apr 2021 15:35:08 +0200 Subject: [PATCH] [pricelist] fix update volume when ingredients changed --- .../pricelist/components/CalculationTable/DrinkPriceVolumes.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/pricelist/components/CalculationTable/DrinkPriceVolumes.vue b/src/plugins/pricelist/components/CalculationTable/DrinkPriceVolumes.vue index 2ba74c7..9fd8611 100644 --- a/src/plugins/pricelist/components/CalculationTable/DrinkPriceVolumes.vue +++ b/src/plugins/pricelist/components/CalculationTable/DrinkPriceVolumes.vue @@ -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 = volumes.value[index].volume; } change(); setTimeout(() => {