Fix resetting date filters from upcoming after viewing a task detail page (popup)
This commit is contained in:
parent
0cd9d43a7c
commit
641ccd1026
2 changed files with 29 additions and 17 deletions
|
|
@ -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()
|
||||
},
|
||||
|
|
|
|||
Reference in a new issue