From 2292ab8ad8883cfd6871d900f4ddccf4f45df096 Mon Sep 17 00:00:00 2001 From: alexm Date: Mon, 5 May 2025 11:09:32 +0200 Subject: [PATCH] fix(ClaimSummary): fix description slot --- src/pages/Claim/Card/ClaimSummary.vue | 34 +++++++++++---------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/src/pages/Claim/Card/ClaimSummary.vue b/src/pages/Claim/Card/ClaimSummary.vue index 67d57004f..9eec79d96 100644 --- a/src/pages/Claim/Card/ClaimSummary.vue +++ b/src/pages/Claim/Card/ClaimSummary.vue @@ -54,7 +54,7 @@ const detailsColumns = ref([ { name: 'item', label: 'claim.item', - field: (row) => row.sale.itemFk, + field: (row) => dashIfEmpty(row.sale.itemFk), sortable: true, }, { @@ -67,13 +67,13 @@ const detailsColumns = ref([ { name: 'quantity', label: 'claim.quantity', - field: (row) => row.sale.quantity, + field: (row) => dashIfEmpty(row.sale.quantity), sortable: true, }, { name: 'claimed', label: 'claim.claimed', - field: (row) => row.quantity, + field: (row) => dashIfEmpty(row.quantity), sortable: true, }, { @@ -84,7 +84,7 @@ const detailsColumns = ref([ { name: 'price', label: 'claim.price', - field: (row) => row.sale.price, + field: (row) => dashIfEmpty(row.sale.price), sortable: true, }, { @@ -343,22 +343,16 @@ function claimUrl(section) { -