We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent db95009 commit a5b5e2dCopy full SHA for a5b5e2d
1 file changed
src/middleware/hearingEditor.js
@@ -60,7 +60,8 @@ export const normalizeSavedHearing =
60
const NORMALIZE_ACTIONS = [EditorActions.POST_HEARING_SUCCESS, EditorActions.SAVE_HEARING_SUCCESS];
61
if (NORMALIZE_ACTIONS.includes(action.type)) {
62
const hearing = get(action, 'payload.hearing');
63
- dispatch(updateHearingAfterSave(fillFrontIdsAndNormalizeHearing(hearing)));
+
64
+ dispatch(updateHearingAfterSave(fillFrontIdsAndNormalizeHearing({ ...hearing, isNew: false })));
65
}
66
next(action);
67
};
0 commit comments