@hmcts/ccd-case-ui-toolkit 6.19.10 → 6.19.11

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.
@@ -10116,8 +10116,10 @@
10116
10116
  // delete fields which are not part of the case event journey wizard pages case fields
10117
10117
  this.validPageListCaseFieldsService.deleteNonValidatedFields(this.validPageList, caseEventData.data, eventTrigger.case_fields, false);
10118
10118
  var pageListCaseFields = this.validPageListCaseFieldsService.validPageListCaseFields(this.validPageList, caseEventData.data, eventTrigger.case_fields);
10119
- // // Remove unnesessary case fields which are hidden
10120
- this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
10119
+ // Remove unnecessary case fields which are hidden, only if the submission is *not* for Case Flags
10120
+ if (!this.isCaseFlagSubmission) {
10121
+ this.formValueService.removeUnnecessaryFields(caseEventData.data, pageListCaseFields, true, true);
10122
+ }
10121
10123
  caseEventData.event_token = eventTrigger.event_token;
10122
10124
  caseEventData.ignore_warning = this.ignoreWarning;
10123
10125
  if (this.confirmation) {
@@ -32418,7 +32420,6 @@
32418
32420
  var targetTabIndex = this.tabGroup._tabs.toArray().findIndex(function (tab) { return tab.textLabel === triggerOutputEventText; });
32419
32421
  if (targetTabIndex > -1) {
32420
32422
  this.selectedTabIndex = targetTabIndex;
32421
- this.tabGroup.selectedIndex = targetTabIndex;
32422
32423
  }
32423
32424
  };
32424
32425
  CaseFullAccessViewComponent.prototype.hasActiveCaseFlags = function () {