@hmcts/ccd-case-ui-toolkit 4.18.20-old-case-id-issue → 4.18.20-old-case-id-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/dist/index.umd.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @hmcts/ccd-case-ui-toolkit - Case UI Toolkit
3
- * @version v4.18.20-old-case-id-issue
3
+ * @version v4.18.20-old-case-id-fix
4
4
  * @link undefined
5
5
  * @license MIT
6
6
  */
@@ -23808,7 +23808,7 @@ var CaseChallengedAccessSuccessComponent = /** @class */ (function () {
23808
23808
  this.route = route;
23809
23809
  }
23810
23810
  CaseChallengedAccessSuccessComponent.prototype.ngOnInit = function () {
23811
- this.caseId = this.route.snapshot.data.case.case_id;
23811
+ this.caseId = this.route.snapshot.params.cid;
23812
23812
  };
23813
23813
  CaseChallengedAccessSuccessComponent = __decorate([
23814
23814
  core_1.Component({