mirror of
https://github.com/zadam/trilium.git
synced 2025-11-08 06:15:48 +01:00
feat(tasks): hide completed tasks for now
This commit is contained in:
@@ -217,7 +217,9 @@ export default class Becca {
|
||||
}
|
||||
|
||||
getTasks(): BTask[] {
|
||||
return Object.values(this.tasks);
|
||||
return Object
|
||||
.values(this.tasks)
|
||||
.filter((task) => !task.isDone);
|
||||
}
|
||||
|
||||
getEntity<T extends AbstractBeccaEntity<T>>(entityName: string, entityId: string): AbstractBeccaEntity<T> | null {
|
||||
|
||||
Reference in New Issue
Block a user