Item Fixed prices #307
|
@ -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;
|
||||
jsegarra marked this conversation as resolved
Outdated
|
||||
fixedPricesOriginalData.value.push(restOfItem);
|
||||
fixedPrices.value.push(restOfItem);
|
||||
};
|
||||
|
||||
const openEditTableCellDialog = () => {
|
||||
|
|
Loading…
Reference in New Issue
RestOfData la propongo cambiar por rest o restOfitem
Cambiado
Commit:
1398a146ff