From d3f119fa048ded4b2d2223062cce7d9d2683bef6 Mon Sep 17 00:00:00 2001 From: jorgep Date: Thu, 27 Jun 2024 10:48:55 +0200 Subject: [PATCH] chore: refs #6943 check if exists --- src/pages/Customer/Card/CustomerGreuges.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/Customer/Card/CustomerGreuges.vue b/src/pages/Customer/Card/CustomerGreuges.vue index eb35a8bdf..e793d066b 100644 --- a/src/pages/Customer/Card/CustomerGreuges.vue +++ b/src/pages/Customer/Card/CustomerGreuges.vue @@ -75,7 +75,7 @@ const columns = computed(() => [ }, { align: 'left', - field: (value) => value.user.name, + field: (value) => value?.user?.name, label: t('Created by'), name: 'createdBy', }, @@ -87,7 +87,7 @@ const columns = computed(() => [ }, { align: 'left', - field: (value) => value.greugeType.name, + field: (value) => value?.greugeType?.name, label: t('Type'), name: 'type', },