mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-09 11:03:05 +00:00
Fixed issue with json-patch reducer
This commit is contained in:
@@ -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
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
Reference in New Issue
Block a user