calendar strip - move api call to proxy route

This commit is contained in:
isUnknown 2024-07-26 08:46:47 +02:00
parent fde6a9cc83
commit 5773c1ef49
5 changed files with 116 additions and 20 deletions

View file

@ -14,12 +14,12 @@
this.dates = getDatesInMonth(this.monthNumb);
const mapadoDates = await getMapadoDates(this.monthNumb)
mapadoDates.forEach(mapadoDate => {
const day = parseInt(mapadoDate.day)
this.dates[day].push(mapadoDate.name)
})
// mapadoDates.forEach(mapadoDate => {
// const day = parseInt(mapadoDate.day)
// this.dates[day].push(mapadoDate.name)
// })
console.log('dates', this.dates)
// console.log('dates', this.dates)
}
}"