Merge branch 'NiceDev' into develop
This commit is contained in:
commit
96f35514bd
1 changed files with 2 additions and 2 deletions
|
|
@ -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();
|
||||
}
|
||||
);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue