fix: check nodeId

This commit is contained in:
setthawutttty 2025-09-09 10:00:26 +07:00
parent de6ed189bd
commit 2f6282d1dd
2 changed files with 3 additions and 1 deletions

View file

@ -24,6 +24,7 @@ interface listMain {
positionDate: Date;
leaveDate: Date;
id: string;
nodeId: string;
}
//ข้อมูลจาก api
interface listMainAPI {

View file

@ -195,7 +195,8 @@ async function fecthlistOthet() {
e.positionLevelOld &&
e.positionNumberOld &&
e.positionDate &&
e.leaveDate !== null
e.leaveDate !== null &&
e.nodeId !== null
);
rows2.value = listData;
rows2Data.value = listData;