fix: issue when creating new note in new tag doesnt re-render immediately
This commit is contained in:
@@ -333,9 +333,14 @@ export class NotesViewState {
|
||||
if (this.isFiltering) {
|
||||
title = this.noteFilterText;
|
||||
}
|
||||
|
||||
await this.appState.openNewNote(title);
|
||||
this.reloadNotes();
|
||||
this.appState.noteTags.reloadTags();
|
||||
this.application.performFunctionWithAngularDigestCycleAfterAsyncChange(
|
||||
() => {
|
||||
this.reloadNotes();
|
||||
this.appState.noteTags.reloadTags();
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
createPlaceholderNote = () => {
|
||||
|
||||
Reference in New Issue
Block a user