fix: reload tags after adding or removing them from context menu
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user