fix position

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2025-03-13 18:03:34 +07:00
parent ca26dc6b53
commit 9aee295a3f

View file

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