1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-29 22:48:10 +02:00

All: Fixed note update issue

This commit is contained in:
Laurent Cozic
2017-11-30 00:25:52 +00:00
parent 4de1edda05
commit 7f1a14fa22
4 changed files with 12 additions and 7 deletions

View File

@@ -289,7 +289,7 @@ const reducer = (state = defaultState, action) => {
newState.notes = newNotes;
if (noteFolderHasChanged) {
newState.selectedNoteIds = newNotes.length ? [newNotes[0].id] : null;
newState.selectedNoteIds = newNotes.length ? [newNotes[0].id] : [];
}
break;