From 9aee295a3f6bd40b077eae18bbeaa079bd2d8b35 Mon Sep 17 00:00:00 2001 From: "DESKTOP-1R2VSQH\\Lenovo ThinkPad E490" Date: Thu, 13 Mar 2025 18:03:34 +0700 Subject: [PATCH] fix position --- .../components/detail/GovernmentInformation/07_Position.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue b/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue index e3231224a..2a96b3d98 100644 --- a/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue +++ b/src/modules/04_registryPerson/components/detail/GovernmentInformation/07_Position.vue @@ -538,7 +538,7 @@ async function fetchDataTenure() { // นำข้อมูลไปใส่ใน cardData cardData.value[0].data = position; cardData.value[1].data = posLevel; - if (empType.value !== "-employee") { + if (empType.value !== "-employee" && cardData.value.length > 2) { cardData.value[2].data = posExecutive; }