Merge branch 'NiceDev' into develop

This commit is contained in:
DESKTOP-1R2VSQH\Lenovo ThinkPad E490 2024-01-16 17:03:39 +07:00
commit 96f35514bd

View file

@ -242,7 +242,7 @@ const filterVal = ref<any>([keycloakId.value]);
/**** ตรวจสอบว่ามีการส่งข้อมูลเข้ามาที่Calendar */
watch(
() => filterVal.value,
() => {
async () => {
const eventData = filterVal.value.map((item: any) => {
return mainData.value
.filter(
@ -265,7 +265,7 @@ watch(
});
const allEventData = [].concat(...eventData);
calendarOptions.value.events = allEventData;
fetchData();
await fetchData();
}
);