Set the flatpickr date when setting changing the date

This commit is contained in:
kolaente 2020-11-25 18:34:32 +01:00
parent 010397d64a
commit f5711cb38c
Signed by: konrad
GPG Key ID: F40E70337AB24C9B
1 changed files with 1 additions and 0 deletions

View File

@ -167,6 +167,7 @@ export default {
const newDate = new Date()
newDate.setDate(newDate.getDate() + interval)
this.date = newDate
this.flatpickrDate = newDate
this.updateData()
},
getDayIntervalFromString(date) {