fix: reload tags after adding or removing them from context menu

This commit is contained in:
Antonella Sgarlatta
2021-05-25 16:48:45 -03:00
parent 4d67c484f9
commit 5c5523fd0a

View File

@@ -344,6 +344,7 @@ export class NotesState {
} }
}); });
this.application.sync(); this.application.sync();
this.reloadActiveNoteTags();
} }
async removeTagFromSelectedNotes(tag: SNTag): Promise<void> { async removeTagFromSelectedNotes(tag: SNTag): Promise<void> {
@@ -354,6 +355,7 @@ export class NotesState {
} }
}); });
this.application.sync(); this.application.sync();
this.reloadActiveNoteTags();
} }
isTagInSelectedNotes(tag: SNTag): boolean { isTagInSelectedNotes(tag: SNTag): boolean {