From 9919352e8c4941d72e9a6cb26cfb3eb3de39ce37 Mon Sep 17 00:00:00 2001 From: PAU ROVIRA ROSALENY Date: Mon, 14 Apr 2025 12:32:11 +0000 Subject: [PATCH 1/4] hotfix: fixed CustomerSamples table not loading correctly when reloading --- src/pages/Customer/Card/CustomerSamples.vue | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/src/pages/Customer/Card/CustomerSamples.vue b/src/pages/Customer/Card/CustomerSamples.vue index 19a7f8759..44fab8e72 100644 --- a/src/pages/Customer/Card/CustomerSamples.vue +++ b/src/pages/Customer/Card/CustomerSamples.vue @@ -4,7 +4,6 @@ import { useI18n } from 'vue-i18n'; import { useRoute } from 'vue-router'; import { QBtn, useQuasar } from 'quasar'; - import WorkerDescriptorProxy from 'src/pages/Worker/Card/WorkerDescriptorProxy.vue'; import { toDateTimeFormat } from 'src/filters/date'; import VnTable from 'src/components/VnTable/VnTable.vue'; @@ -34,7 +33,7 @@ const columns = computed(() => [ }, { align: 'left', - format: (row) => row.type.description, + format: (row) => row?.type?.description, label: t('Description'), name: 'description', }, @@ -74,12 +73,11 @@ const tableRef = ref();