diff --git a/src/components/tasks/ShowTasks.vue b/src/components/tasks/ShowTasks.vue index 62dcfdf8e..a71664dc3 100644 --- a/src/components/tasks/ShowTasks.vue +++ b/src/components/tasks/ShowTasks.vue @@ -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() {