@hmcts/ccd-case-ui-toolkit 6.13.0-rc5 → 6.13.0-rc6
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 +5 -3
- 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-viewer/case-full-access-view/case-full-access-view.component.js +8 -5
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js +5 -3
- package/fesm2015/hmcts-ccd-case-ui-toolkit.js.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
|
@@ -27759,7 +27759,7 @@
|
|
|
27759
27759
|
this.activeCaseFlags = this.hasActiveCaseFlags();
|
|
27760
27760
|
};
|
|
27761
27761
|
CaseFullAccessViewComponent.prototype.ngOnChanges = function (changes) {
|
|
27762
|
-
if (!changes.prependedTabs.firstChange) {
|
|
27762
|
+
if (changes && changes.prependedTabs && !changes.prependedTabs.firstChange) {
|
|
27763
27763
|
this.init();
|
|
27764
27764
|
this.crf.detectChanges();
|
|
27765
27765
|
this.organiseTabPosition();
|
|
@@ -27786,8 +27786,10 @@
|
|
|
27786
27786
|
};
|
|
27787
27787
|
CaseFullAccessViewComponent.prototype.checkRouteAndSetCaseViewTab = function () {
|
|
27788
27788
|
var _this = this;
|
|
27789
|
-
this.router.events
|
|
27790
|
-
|
|
27789
|
+
this.router.events
|
|
27790
|
+
.pipe(operators.filter(function (event) { return event instanceof i1$1.NavigationEnd; }))
|
|
27791
|
+
.subscribe(function (event) {
|
|
27792
|
+
var url = event && event.url;
|
|
27791
27793
|
if (url) {
|
|
27792
27794
|
var tabUrl = url ? url.split('#') : null;
|
|
27793
27795
|
var tab_1 = tabUrl && tabUrl.length > 1 ? tabUrl[tabUrl.length - 1].replaceAll('%20', ' ') : '';
|