Skip to content

Commit

Permalink
Merge branch 'master' into EXUI-1314-special-tribunals-incorrect-font…
Browse files Browse the repository at this point in the history
…-size-class-for-fields
  • Loading branch information
OgunyemiO committed Sep 13, 2024
2 parents 7530ff5 + c05367c commit 32b3677
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
5 changes: 4 additions & 1 deletion RELEASE-NOTES.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
## RELEASE NOTES
## RELEASE NOTES

### Version 7.0.64
**EXUI-2086** Within case file view

### Version 7.0.63
**EXUI-1838/39/40** Task Completion - EXUI Header
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ <h2 class="govuk-heading-l">Case file</h2>
[enableAnnotations]="true"
[enableRedactions]="true"
[height]="'94.5vh'"
[caseId]="caseId"
[enableICP]="isIcpEnabled()">
</mv-media-viewer>
</ng-container>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ describe('CaseFileViewFieldComponent', () => {
expect(mockCaseFileViewService.getCategoriesAndDocuments).toHaveBeenCalled();
expect(component.getCategoriesAndDocumentsError).toBe(false);
const nativeElement = fixture.debugElement.nativeElement;
expect(component.caseId).toEqual('1234123412341234');
const errorMessageHeadingElement = nativeElement.querySelector('.govuk-heading-xl');
expect(errorMessageHeadingElement).toBeNull();
const errorMessageBodyElement = nativeElement.querySelector('.govuk-body');
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ export class CaseFileViewFieldComponent implements OnInit, AfterViewInit, OnDest
public caseField: CaseField;
public icp_jurisdictions: string[] = [];
public icpEnabled: boolean = false;
public caseId: string;

constructor(private readonly elementRef: ElementRef,
private readonly route: ActivatedRoute,
Expand All @@ -38,8 +39,8 @@ export class CaseFileViewFieldComponent implements OnInit, AfterViewInit, OnDest
) { }

public ngOnInit(): void {
const cid = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(cid);
this.caseId = this.route.snapshot.paramMap.get(CaseFileViewFieldComponent.PARAM_CASE_ID);
this.categoriesAndDocuments$ = this.caseFileViewService.getCategoriesAndDocuments(this.caseId);
this.categoriesAndDocumentsSubscription = this.categoriesAndDocuments$.subscribe({
next: data => {
this.caseVersion = data.case_version;
Expand Down

0 comments on commit 32b3677

Please sign in to comment.