Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit0b40d37

Browse files
author
Ivan Sugerman
committed
updated comment
1 parent7f43557 commit0b40d37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

‎src/reducers/update.js‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,8 @@ export const start = (state, action) => {
5353
// Get the response data
5454
constresponseData=action.responseData ?Map(action.responseData) :Map()
5555

56-
// Merge the new data with the data from the store
56+
// 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
5758
constrecord=map.getIn(['raw',uid],Map()).merge(updatedRecord).merge(responseData)
5859

5960
// Update the record in raw

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp