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() {

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,6 +1,6 @@
{
"name": "standard-notes-web",
"version": "3.3.0",
"version": "3.3.1",
"license": "AGPL-3.0-or-later",
"repository": {
"type": "git",