Fix resetting date filters from upcoming after viewing a task detail page (popup)

This commit is contained in:
kolaente 2021-06-03 17:18:38 +02:00
parent 0cd9d43a7c
commit 641ccd1026
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
2 changed files with 29 additions and 17 deletions

View file

@ -17,13 +17,10 @@ export default {
},
data() {
return {
startDate: new Date(this.$route.params.startDateUnix),
endDate: new Date(this.$route.params.endDateUnix),
startDate: null,
endDate: null,
}
},
watch: {
'$route': 'setDatesToNextWeek',
},
created() {
this.setDatesToNextWeek()
},