Skip to content

Commit 9772bf4

Browse files
committed
chore: typo
1 parent bbcab89 commit 9772bf4

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

alcs-frontend/src/app/shared/document-upload-dialog/document-upload-dialog.component.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ export class DocumentUploadDialogComponent implements OnInit, OnDestroy {
263263

264264
async prepareCertificateOfTitleUpload(uuid?: string) {
265265
this.source.setValue(DOCUMENT_SOURCE.APPLICANT);
266+
266267
// If fixedParcel is provided, use it and don't require validation
267268
if (this.data.fixedParcel) {
268269
this.parcelId.setValue(this.data.fixedParcel.uuid);
@@ -286,6 +287,7 @@ export class DocumentUploadDialogComponent implements OnInit, OnDestroy {
286287
this.parcelId.updateValueAndValidity();
287288
return;
288289
}
290+
289291
// We have parcels to select from now, so we will require it here
290292
this.parcelId.setValidators([Validators.required]);
291293
this.parcelId.updateValueAndValidity();

0 commit comments

Comments
 (0)