From 5d8ea1ce7d7df1dcecebd66319f75d2e2b6fc95b Mon Sep 17 00:00:00 2001 From: oat_dev Date: Thu, 13 Jun 2024 11:09:56 +0700 Subject: [PATCH] =?UTF-8?q?fix:=20=E0=B8=8B=E0=B9=88=E0=B8=AD=E0=B8=99?= =?UTF-8?q?=E0=B8=84=E0=B8=B3=E0=B8=AB=E0=B8=99=E0=B9=89=E0=B8=B2=E0=B8=8A?= =?UTF-8?q?=E0=B8=B7=E0=B9=88=E0=B8=AD=20=E0=B8=96=E0=B9=89=E0=B8=B2?= =?UTF-8?q?=E0=B9=80=E0=B8=9B=E0=B9=87=E0=B8=99null?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/05_placement/components/Other/Main.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/modules/05_placement/components/Other/Main.vue b/src/modules/05_placement/components/Other/Main.vue index 1b5d81286..3402dd0f4 100644 --- a/src/modules/05_placement/components/Other/Main.vue +++ b/src/modules/05_placement/components/Other/Main.vue @@ -71,7 +71,9 @@ const columns = ref([ headerStyle: "font-size: 14px", style: "font-size: 14px", format(val, row) { - return `${row.prefix}${row.firstName} ${row.lastName}`; + return `${row.prefix === null ? "" : row.prefix}${row.firstName} ${ + row.lastName + }`; }, }, {