1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-06-12 22:57:38 +02:00

Moved more widgets to redux

This commit is contained in:
Laurent Cozic
2017-10-07 23:17:10 +01:00
parent 6f34d717f8
commit dc219141fa
10 changed files with 153 additions and 37 deletions

View File

@ -124,6 +124,12 @@ const reducer = (state = defaultState, action) => {
newState.selectedNoteId = action.noteId;
break;
case 'FOLDERS_SELECT':
newState = Object.assign({}, state);
newState.selectedFolderId = action.folderId;
break;
case 'SETTINGS_UPDATE_ALL':
newState = Object.assign({}, state);