You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-06-21 23:17:42 +02:00
Desktop: Support "select all" in the note list (#2403)
* Select all notes in note list, block select all in folder and tags lists. * Adjust key mappings. * Adjust key mappings.
This commit is contained in:
@ -394,6 +394,11 @@ const reducer = (state = defaultState, action) => {
|
||||
}
|
||||
break;
|
||||
|
||||
case 'NOTE_SELECT_ALL':
|
||||
newState = Object.assign({}, state);
|
||||
newState.selectedNoteIds = newState.notes.map(n => n.id);
|
||||
break;
|
||||
|
||||
case 'FOLDER_SELECT':
|
||||
newState = changeSelectedFolder(state, action, { clearSelectedNoteIds: true });
|
||||
break;
|
||||
|
Reference in New Issue
Block a user