diff options
Diffstat (limited to 'app/assets/javascripts/registry/settings/store/mutations.js')
-rw-r--r-- | app/assets/javascripts/registry/settings/store/mutations.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/registry/settings/store/mutations.js b/app/assets/javascripts/registry/settings/store/mutations.js index b773f2dd44c..f562137db1a 100644 --- a/app/assets/javascripts/registry/settings/store/mutations.js +++ b/app/assets/javascripts/registry/settings/store/mutations.js @@ -9,8 +9,8 @@ export default { olderThan: JSON.parse(initialState.olderThanOptions), }; }, - [types.UPDATE_SETTINGS](state, settings) { - state.settings = { ...state.settings, ...settings }; + [types.UPDATE_SETTINGS](state, data) { + state.settings = { ...state.settings, ...data.settings }; }, [types.SET_SETTINGS](state, settings) { state.settings = settings; |