diff --git a/src/pages/Item/components/ItemProposal.vue b/src/pages/Item/components/ItemProposal.vue index e4ece8043..32b7b6dce 100644 --- a/src/pages/Item/components/ItemProposal.vue +++ b/src/pages/Item/components/ItemProposal.vue @@ -94,7 +94,7 @@ const columns = computed(() => [ ...defaultColumnAttrs, label: t('proposal.difference'), name: 'difference', - format: (item) => (item.id % 2 === 0 ? 10 : -10), + format: ({ id }) => (id % 2 === 0 ? 10 : -10), columnFilter: { component: 'input', type: 'number', @@ -226,85 +226,79 @@ function onDialogClose() { onUnmounted(() => {});