@hmcts/ccd-case-ui-toolkit 7.0.0-rc4 → 7.0.0-rc5
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/esm2020/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.mjs +3 -2
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs +3 -1
- package/fesm2015/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs +2 -1
- package/fesm2020/hmcts-ccd-case-ui-toolkit.mjs.map +1 -1
- package/lib/shared/components/case-viewer/case-full-access-view/case-full-access-view.component.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -26958,7 +26958,7 @@ class CaseFullAccessViewComponent {
|
|
|
26958
26958
|
// sortedTabs are fragments
|
|
26959
26959
|
// appended/prepepended tabs use router navigation
|
|
26960
26960
|
if ((tabIndexChanged <= 1 && this.prependedTabs && this.prependedTabs.length) ||
|
|
26961
|
-
(this.appendedTabs
|
|
26961
|
+
(this.appendedTabs?.length && tabLabel === this.HEARINGS_TAB_LABEL)) {
|
|
26962
26962
|
// Hack to get ID from tab as it's not easily achieved through Angular Material Tabs
|
|
26963
26963
|
const tab = matTab['_viewContainerRef'];
|
|
26964
26964
|
const id = tab.element.nativeElement.id;
|
|
@@ -26978,6 +26978,7 @@ class CaseFullAccessViewComponent {
|
|
|
26978
26978
|
const targetTabIndex = this.tabGroup._tabs.toArray().findIndex(tab => tab.textLabel === triggerOutputEventText);
|
|
26979
26979
|
if (targetTabIndex > -1) {
|
|
26980
26980
|
this.selectedTabIndex = targetTabIndex;
|
|
26981
|
+
this.tabGroup.selectedIndex = targetTabIndex;
|
|
26981
26982
|
}
|
|
26982
26983
|
}
|
|
26983
26984
|
hasActiveCaseFlags() {
|