This commit is contained in:
Mo Bitar
2020-02-09 00:34:14 -06:00
parent b5ec64f102
commit 046f6ca5b9
19 changed files with 919 additions and 635 deletions

View File

@@ -701,7 +701,7 @@ class EditorCtrl extends PureCtrl {
this.saveTags({ strings: strings });
}
saveTags({ strings } = {}) {
async saveTags({ strings } = {}) {
if (!strings && this.state.mutable.tagsString === this.state.note.tagsString()) {
return;
}
@@ -732,7 +732,7 @@ class EditorCtrl extends PureCtrl {
);
if (!existingRelationship) {
tags.push(
this.application.findOrCreateTag({ title: tagString })
await this.application.findOrCreateTag({ title: tagString })
);
}
}