[pricelist] fix update volume when ingredients changed

This commit is contained in:
Tim Gröger 2021-04-15 15:35:08 +02:00
parent 8b21ccf978
commit a376fd7cc2
1 changed files with 1 additions and 0 deletions

View File

@ -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(() => {