โครงสร้าง => ปรับ load

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-06-14 15:15:16 +07:00
parent 371fc43282
commit aeedce33b9
2 changed files with 0 additions and 8 deletions

View file

@ -85,15 +85,12 @@ async function fetchOrganizationActive() {
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
}
/** function เรียกข้อมูลประวัติโครงสร้าง*/
async function fetchHistory() {
showLoader();
await http
.get(config.API.organizationHistoryNew)
.then((res) => {
@ -109,9 +106,6 @@ async function fetchHistory() {
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
}

View file

@ -29,8 +29,6 @@ async function fetchOrganizationActive() {
})
.catch((err) => {
messageError($q, err);
})
.finally(() => {
hideLoader();
});
}