Fix not re-loading tasks when switching between overviews
This commit is contained in:
parent
be10ba0f62
commit
67de7e7c8f
1 changed files with 2 additions and 4 deletions
|
@ -39,10 +39,8 @@
|
|||
this.taskService = new TaskService()
|
||||
this.loadPendingTasks()
|
||||
},
|
||||
computed: {
|
||||
undoneTasks: function () {
|
||||
return this.tasks.filter(t => !t.done)
|
||||
}
|
||||
watch: {
|
||||
'$route': 'loadPendingTasks',
|
||||
},
|
||||
methods: {
|
||||
loadPendingTasks() {
|
||||
|
|
Loading…
Reference in a new issue