update selected and load data

This commit is contained in:
Warunee Tamkoo 2026-03-25 17:48:24 +07:00
parent 263e122b60
commit bebf684069
2 changed files with 157 additions and 53 deletions

View file

@ -125,7 +125,7 @@ export const useChangeRoundDataStore = defineStore(
async function fetchDataForCardId(dataDetail: any, type?: string) {
if (dataDetail) {
showLoader();
// showLoader();
const url =
type && type == "emp"
? config.API.leaveSearchEMP()
@ -170,7 +170,7 @@ export const useChangeRoundDataStore = defineStore(
console.log(e);
})
.finally(() => {
hideLoader();
// hideLoader();
});
}
}