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; }