Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(server/tasks): becca not updating on task creation
Elian Doran0baa80454489
diff --git a/src/becca/entities/btask.ts b/src/becca/entities/btask.tsindex 85bcca46af..e04f9b8ab0 100644--- a/src/becca/entities/btask.ts+++ b/src/becca/entities/btask.ts@@ -63,6 +63,10 @@ export default class BTask extends AbstractBeccaEntity<BOption> {super.beforeSaving();this.utcDateModified = date_utils.utcNowDateTime();++ if (this.taskId) {+ this.becca.tasks[this.taskId] = this;+ }}getPojo() {