fix: properly remove Quick Tags extension before notifying SNJS
This commit is contained in:
@@ -1076,10 +1076,10 @@ class EditorViewCtrl extends PureViewCtrl<{}, EditorState> {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
reloadNoteTagsComponent() {
|
async reloadNoteTagsComponent() {
|
||||||
const [tagsComponent] =
|
const [tagsComponent] =
|
||||||
this.application.componentManager!.componentsForArea(ComponentArea.NoteTags);
|
this.application.componentManager!.componentsForArea(ComponentArea.NoteTags);
|
||||||
this.setState({
|
await this.setState({
|
||||||
tagsComponent: tagsComponent?.active ? tagsComponent : undefined
|
tagsComponent: tagsComponent?.active ? tagsComponent : undefined
|
||||||
});
|
});
|
||||||
this.application.componentManager!.contextItemDidChangeInArea(ComponentArea.NoteTags);
|
this.application.componentManager!.contextItemDidChangeInArea(ComponentArea.NoteTags);
|
||||||
|
|||||||
Reference in New Issue
Block a user