Fixed issue with json-patch reducer

This commit is contained in:
Giuseppe
2018-09-26 16:47:20 +02:00
parent 6da159b763
commit c7b4c1b056

View File

@@ -102,6 +102,7 @@ function startTransactionPatchOperations(state: JsonPatchOperationsState, action
&& isNull(state[ action.payload.resourceType ].transactionStartTime)) { && isNull(state[ action.payload.resourceType ].transactionStartTime)) {
return Object.assign({}, state, { return Object.assign({}, state, {
[action.payload.resourceType]: Object.assign({}, state[ action.payload.resourceType ], { [action.payload.resourceType]: Object.assign({}, state[ action.payload.resourceType ], {
transactionStartTime: action.payload.startTime,
commitPending: true commitPending: true
}) })
}); });