Skip to content

Build your personal knowledge base with Trilium Notes

fix(tasks): task list not clearing properly

Elian Doran9ed075b6757d
diff --git a/src/public/app/widgets/type_widgets/task_list.ts b/src/public/app/widgets/type_widgets/task_list.ts
index 95ffa5bf97..861ebe634b 100644
--- a/src/public/app/widgets/type_widgets/task_list.ts
+++ b/src/public/app/widgets/type_widgets/task_list.ts
@@ -108,7 +108,7 @@ export default class TaskListWidget extends TypeWidget {
return;
}
- this.$taskContainer.clearQueue();
+ this.$taskContainer.html("");
const tasks = await froca.getTasks();
for (const task of tasks) {