From 68e6b23610e1e1a5819040eec36a3043747f270e Mon Sep 17 00:00:00 2001 From: kolaente Date: Thu, 21 May 2020 11:36:42 +0200 Subject: [PATCH] Remove old tasks when loading list view --- src/components/tasks/helpers/taskList.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/tasks/helpers/taskList.js b/src/components/tasks/helpers/taskList.js index 4367573ae..0c7833e90 100644 --- a/src/components/tasks/helpers/taskList.js +++ b/src/components/tasks/helpers/taskList.js @@ -39,6 +39,8 @@ export default { return } + this.$set(this, 'tasks', []) + if (search !== '') { params.s = search }