Commit 0c930365 authored by Andreas Åkre Solberg's avatar Andreas Åkre Solberg

Let serverConfig.save() merge data.

parent 8deb979c
......@@ -22,7 +22,10 @@ const reducer = handleActions({
serverConfig: {
save: (state, action) => ({
...state,
serverConfig: action.payload,
serverConfig: {
...state.serverConfig,
...action.payload
},
serverError: null
})
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment