diff --git a/alcs-frontend/src/app/features/application/applicant-info/application-details/parcel/parcel.component.html b/alcs-frontend/src/app/features/application/applicant-info/application-details/parcel/parcel.component.html
index 2847f9dcd6..b5f7fc2641 100644
--- a/alcs-frontend/src/app/features/application/applicant-info/application-details/parcel/parcel.component.html
+++ b/alcs-frontend/src/app/features/application/applicant-info/application-details/parcel/parcel.component.html
@@ -71,7 +71,7 @@
Parcel {{ parcelInd + 1 }}: Parcel and Owner Information<
Certificate Of Title
Owner Information
@@ -92,7 +92,7 @@ Parcel {{ parcelInd + 1 }}: Parcel and Owner Information<
{{ owner.phoneNumber }}
{{ owner.email }}
diff --git a/alcs-frontend/src/app/features/application/applicant-info/application-details/parcel/parcel.component.ts b/alcs-frontend/src/app/features/application/applicant-info/application-details/parcel/parcel.component.ts
index c003aab01b..d8567b3ce0 100644
--- a/alcs-frontend/src/app/features/application/applicant-info/application-details/parcel/parcel.component.ts
+++ b/alcs-frontend/src/app/features/application/applicant-info/application-details/parcel/parcel.component.ts
@@ -47,11 +47,8 @@ export class ParcelComponent implements OnInit, OnChanges, OnDestroy, AfterConte
});
}
- async onOpenFile(uuid: string) {
- const file = this.files.find((file) => file.uuid === uuid);
- if (file) {
- await this.applicationDocumentService.download(file.uuid, file.fileName);
- }
+ async openFile(file: ApplicationDocumentDto) {
+ await this.applicationDocumentService.download(file.uuid, file.fileName);
}
async loadParcels(fileNumber: string) {