We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
1 parent7f43557 commit0b40d37Copy full SHA for 0b40d37
src/reducers/update.js
@@ -53,7 +53,8 @@ export const start = (state, action) => {
53
// Get the response data
54
constresponseData=action.responseData ?Map(action.responseData) :Map()
55
56
-// Merge the new data with the data from the store
+// Success responseData should take precedence over all other changes so we
57
+// merge that into the updated record, then we merge the updatedRecord into existing raw data
58
constrecord=map.getIn(['raw',uid],Map()).merge(updatedRecord).merge(responseData)
59
60
// Update the record in raw