fix: prevent exception when inserting note

This commit is contained in:
Baptiste Grob
2020-09-11 10:16:11 +02:00
parent 4e6348c1c8
commit 65108fbb2e

View File

@@ -56,7 +56,8 @@ export class Editor {
} }
} }
async insertTemplatedNote() { insertTemplatedNote() {
this.isTemplateNote = false;
return this.application.insertItem(this.note); return this.application.insertItem(this.note);
} }