Fix not re-loading tasks when switching between overviews

This commit is contained in:
kolaente 2020-05-09 14:54:42 +02:00
parent be10ba0f62
commit 67de7e7c8f
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B

View file

@ -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() {