feat(tasks): hide completed tasks for now

This commit is contained in:
Elian Doran 2025-02-19 20:33:20 +02:00
parent 9ed075b675
commit f743f634b4
No known key found for this signature in database

View File

@ -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 {