You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-15 23:00:36 +02:00
* Fix : Remember last selected note Fixes #2803 * Add unit test
This commit is contained in:
@ -365,8 +365,6 @@ function changeSelectedNotes(state, action, options = null) {
|
||||
newState.backwardHistoryNotes = backwardHistoryNotes;
|
||||
newState.forwardHistoryNotes = forwardHistoryNotes;
|
||||
|
||||
return newState;
|
||||
|
||||
} else if (action.type === 'NOTE_SELECT_ADD') {
|
||||
if (!noteIds.length) return state;
|
||||
newState.selectedNoteIds = ArrayUtils.unique(newState.selectedNoteIds.concat(noteIds));
|
||||
|
Reference in New Issue
Block a user