diff --git a/src/pages/InvoiceIn/Card/InvoiceInVat.vue b/src/pages/InvoiceIn/Card/InvoiceInVat.vue index 2b3c42e0d..dcca997e8 100644 --- a/src/pages/InvoiceIn/Card/InvoiceInVat.vue +++ b/src/pages/InvoiceIn/Card/InvoiceInVat.vue @@ -41,11 +41,7 @@ const columns = computed(() => [ options: expenses.value, model: 'expenseFk', optionValue: 'id', - optionLabel: (row) => { - if (isNaN(row)) return `${row.id}: ${row.name}`; - let label = expenses.value.find((expense) => expense.id == row); - return `${label.id}: ${label.name}`; - }, + optionLabel: (row) => `${row.id}: ${row.name}`, sortable: true, align: 'left', },