@hmcts/ccd-case-ui-toolkit 6.19.11 → 6.19.12-rc1

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.
@@ -26523,10 +26523,16 @@
26523
26523
  if (formGroup) {
26524
26524
  checkConditionalShowAgainst = formGroup.parent.getRawValue().data;
26525
26525
  formGroupAvailable = true;
26526
- if (idPrefix) {
26527
- var fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
26528
- if (checkConditionalShowAgainst[fieldId]) {
26529
- checkConditionalShowAgainst = values;
26526
+ if (idPrefix !== undefined) {
26527
+ if (idPrefix !== '') {
26528
+ var fieldId = idPrefix.substring(0, idPrefix.indexOf('_'));
26529
+ if (checkConditionalShowAgainst[fieldId]) {
26530
+ checkConditionalShowAgainst = values;
26531
+ formGroupAvailable = false;
26532
+ }
26533
+ }
26534
+ else {
26535
+ checkConditionalShowAgainst = Object.assign(checkConditionalShowAgainst, values);
26530
26536
  formGroupAvailable = false;
26531
26537
  }
26532
26538
  }
@@ -32420,6 +32426,7 @@
32420
32426
  var targetTabIndex = this.tabGroup._tabs.toArray().findIndex(function (tab) { return tab.textLabel === triggerOutputEventText; });
32421
32427
  if (targetTabIndex > -1) {
32422
32428
  this.selectedTabIndex = targetTabIndex;
32429
+ this.tabGroup.selectedIndex = targetTabIndex;
32423
32430
  }
32424
32431
  };
32425
32432
  CaseFullAccessViewComponent.prototype.hasActiveCaseFlags = function () {