@hmcts/ccd-case-ui-toolkit 6.19.9-case-flags-v2-1-manage-case-flags-missing-header → 6.19.9-case-flags-exui-848-fix
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/bundles/hmcts-ccd-case-ui-toolkit.umd.js +4 -2
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.js.map +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js +1 -1
- package/bundles/hmcts-ccd-case-ui-toolkit.umd.min.js.map +1 -1
- package/esm2015/lib/shared/components/case-editor/case-edit/case-edit.component.js +5 -3
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +4 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.map +1 -1
- package/lib/shared/components/case-editor/case-edit/case-edit.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -10152,8 +10152,10 @@
|
|
|
10152
10152
|
// delete fields which are not part of the case event journey wizard pages case fields
|
|
10153
10153
|
this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
|
|
10154
10154
|
var pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
|
|
10155
|
-
//
|
|
10156
|
-
this.
|
|
10155
|
+
// Remove unnecessary case fields which are hidden, only if the submission is *not* for Case Flags
|
|
10156
|
+
if (!this.isCaseFlagSubmission) {
|
|
10157
|
+
this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
|
|
10158
|
+
}
|
|
10157
10159
|
caseEventData.event_token = eventTrigger.event_token;
|
|
10158
10160
|
caseEventData.ignore_warning = this.ignoreWarning;
|
|
10159
10161
|
if (this.confirmation) {
|