mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-28 02:22:26 +08:00
feat(tasks): hide completed tasks for now
This commit is contained in:
parent
9ed075b675
commit
f743f634b4
@ -217,7 +217,9 @@ export default class Becca {
|
|||||||
}
|
}
|
||||||
|
|
||||||
getTasks(): BTask[] {
|
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 {
|
getEntity<T extends AbstractBeccaEntity<T>>(entityName: string, entityId: string): AbstractBeccaEntity<T> | null {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user