Skip to content

Commit

Permalink
File upload casetype field fix (#1675)
Browse files Browse the repository at this point in the history
* File upload casetype field fix

* version updated

---------

Co-authored-by: Ritesh Dsouza <[email protected]>
  • Loading branch information
OgunyemiO and RiteshHMCTS authored Feb 26, 2024
1 parent 46b6b1e commit 756cf0b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.0.13",
"version": "7.0.15",
"engines": {
"node": ">=18.17.0"
},
Expand Down
2 changes: 1 addition & 1 deletion projects/ccd-case-ui-toolkit/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hmcts/ccd-case-ui-toolkit",
"version": "7.0.13",
"version": "7.0.15",
"engines": {
"node": ">=18.17.0"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
});
Expand Down

0 comments on commit 756cf0b

Please sign in to comment.