Style fix

This commit is contained in:
Phan Huy Tran 2025-01-08 11:13:20 +01:00
parent 1297ed1b73
commit 326972938d

View File

@ -47,9 +47,11 @@ export class CreateQualificationComponent {
getErrorMessage(fieldName: string): string { getErrorMessage(fieldName: string): string {
const field = this.qualificationForm.get(fieldName); const field = this.qualificationForm.get(fieldName);
if (field?.errors?.['required']) { if (field?.errors?.['required']) {
return 'This field is required'; return 'This field is required';
} }
return ''; return '';
} }