0
0
Fork 0

Rename key to path in actions and reducers for settings (#6105)

This commit is contained in:
Akihiko Odaki 2018-01-02 21:50:54 +09:00 committed by Eugen Rochko
parent ce854ed506
commit 3ba7cde38d
7 changed files with 15 additions and 15 deletions

View file

@ -93,7 +93,7 @@ export default function settings(state = initialState, action) {
return hydrate(state, action.state.get('settings'));
case SETTING_CHANGE:
return state
.setIn(action.key, action.value)
.setIn(action.path, action.value)
.set('saved', false);
case COLUMN_ADD:
return state