Dont change note selection on search

This commit is contained in:
Mo Bitar
2020-02-11 11:38:45 -06:00
parent 3d15cc1f70
commit a5795adf75
4 changed files with 4 additions and 7 deletions

View File

@@ -581,9 +581,6 @@ class NotesCtrl extends PureCtrl {
this.searchSubmitted = false;
}
await this.reloadNotes();
if (!this.state.notes.includes(this.state.selectedNote)) {
this.selectFirstNote();
}
}
onFilterEnter() {