@hmcts/media-viewer 4.2.39 → 4.2.40-redaction-save-issue
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.yarn/cache/engine.io-client-npm-6.6.7-505818a2b5-18201a4109.zip +0 -0
- package/.yarn/cache/moment-timezone-npm-0.6.5-1746b59ce3-2ab437fa7a.zip +0 -0
- package/.yarn/cache/socket.io-client-npm-4.8.4-cb678c2836-9b39697b00.zip +0 -0
- package/.yarn/install-state.gz +0 -0
- package/fesm2022/hmcts-media-viewer.mjs +1 -1
- package/fesm2022/hmcts-media-viewer.mjs.map +1 -1
- package/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/package.tgz +0 -0
- package/.yarn/cache/engine.io-client-npm-6.6.6-fd14f4b531-9fe1af84a1.zip +0 -0
- package/.yarn/cache/moment-timezone-npm-0.6.4-78ea3bd92a-efa60fc46c.zip +0 -0
- package/.yarn/cache/socket.io-client-npm-4.8.3-6800638250-ee83c08cb3.zip +0 -0
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/.yarn/install-state.gz
CHANGED
|
Binary file
|
|
@@ -1426,9 +1426,9 @@ function redactionReducer(state = initialRedactionState, action) {
|
|
|
1426
1426
|
}
|
|
1427
1427
|
case REDACT_SUCCESS: {
|
|
1428
1428
|
const redactedDocumentInfo = action.payload;
|
|
1429
|
+
// Markers persist on the backend, so keep them in state to stay consistent with a reload
|
|
1429
1430
|
return {
|
|
1430
1431
|
...state,
|
|
1431
|
-
...initialRedactionState,
|
|
1432
1432
|
redactedDocumentInfo
|
|
1433
1433
|
};
|
|
1434
1434
|
}
|