diff --git a/package.json b/package.json index 1d5a49f9cb..a8ba2f8dcf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@hmcts/ccd-case-ui-toolkit", - "version": "7.0.13", + "version": "7.0.15", "engines": { "node": ">=18.17.0" }, diff --git a/projects/ccd-case-ui-toolkit/package.json b/projects/ccd-case-ui-toolkit/package.json index f753df72c2..e9dbf1e330 100644 --- a/projects/ccd-case-ui-toolkit/package.json +++ b/projects/ccd-case-ui-toolkit/package.json @@ -1,6 +1,6 @@ { "name": "@hmcts/ccd-case-ui-toolkit", - "version": "7.0.13", + "version": "7.0.15", "engines": { "node": ">=18.17.0" }, diff --git a/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/document/write-document-field.component.ts b/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/document/write-document-field.component.ts index 2e6ef8561e..9d6b61be32 100644 --- a/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/document/write-document-field.component.ts +++ b/projects/ccd-case-ui-toolkit/src/lib/shared/components/palette/document/write-document-field.component.ts @@ -196,7 +196,7 @@ export class WriteDocumentFieldComponent extends AbstractFieldWriteComponent imp private subscribeToCaseDetails(): void { this.caseNotifierSubscription = this.caseNotifier.caseView.subscribe({ next: (caseDetails: CaseView) => { - this.caseTypeId = caseDetails?.case_id; + this.caseTypeId = caseDetails?.case_type.id; this.jurisdictionId = caseDetails?.case_type?.jurisdiction?.id; } });