diff --git a/src/pages/Item/ItemFixedPrice.vue b/src/pages/Item/ItemFixedPrice.vue index 1af73b393..933f1b0dd 100644 --- a/src/pages/Item/ItemFixedPrice.vue +++ b/src/pages/Item/ItemFixedPrice.vue @@ -333,9 +333,9 @@ const addRow = () => { const lastItemCopy = JSON.parse( JSON.stringify(fixedPrices.value[fixedPrices.value.length - 1]) ); - const { id, ...restOfData } = lastItemCopy; - fixedPricesOriginalData.value.push(restOfData); - fixedPrices.value.push(restOfData); + const { id, ...restOfItem } = lastItemCopy; + fixedPricesOriginalData.value.push(restOfItem); + fixedPrices.value.push(restOfItem); }; const openEditTableCellDialog = () => {