แก้ รายละเอียดข้อมูล

This commit is contained in:
setthawutttty 2025-04-04 14:52:19 +07:00
parent 9a1ce90e11
commit 39b14d7026
2 changed files with 20 additions and 12 deletions

View file

@ -42,7 +42,7 @@ async function fetchDataTenure() {
.get(
config.API.salaryTenurePosition(
props?.id,
props.type === "officer" ? "" : "-employee"
props.type.toLocaleLowerCase() === "officer" ? "" : "-employee"
)
)
.then((res) => {