fixing load kpi

This commit is contained in:
Warunee Tamkoo 2024-05-03 08:53:55 +07:00
parent 79a6e52973
commit 89858fcb8f

View file

@ -142,12 +142,12 @@ function getCriteria() {
});
}
onMounted(() => {
setTimeout(() => {
getCriteria();
fetchListPlanned();
fetchListRole();
fetchAssigned();
onMounted(async() => {
setTimeout(async() => {
await getCriteria();
await fetchListPlanned();
await fetchListRole();
await fetchAssigned();
hideLoader();
}, 1000);
});