fix: associate note with selected tag when saving with editor

This commit is contained in:
Mo Bitar
2020-10-08 11:44:08 -05:00
parent 53b61f941e
commit 507223c5b7
8 changed files with 41 additions and 37 deletions

View File

@@ -346,11 +346,6 @@ class NotesViewCtrl extends PureViewCtrl<{}, NotesState> {
return this.application!.getAppState().getSelectedTag();
}
currentTagCanHavePlaceholderNotes() {
const selectedTag = this.selectedTag!;
return selectedTag.isAllTag || !selectedTag.isSmartTag()
}
private async performReloadNotes() {
const tag = this.appState.selectedTag!;
if (!tag) {