diff --git a/src/app/core/register2/register2.service.ts b/src/app/core/register2/register2.service.ts index 3037803a45..627e8ed9bb 100644 --- a/src/app/core/register2/register2.service.ts +++ b/src/app/core/register2/register2.service.ts @@ -136,7 +136,6 @@ export class Register2Service extends _RegisterServiceMixingBase { ) ) .pipe( - retry(3), catchError((error) => this._errorHandler.handleError(error, ERROR_REPORT.REGISTER) diff --git a/src/app/register2/components/form-current-employment/form-current-employment.component.ts b/src/app/register2/components/form-current-employment/form-current-employment.component.ts index 2a69ffbde2..90440fdadd 100644 --- a/src/app/register2/components/form-current-employment/form-current-employment.component.ts +++ b/src/app/register2/components/form-current-employment/form-current-employment.component.ts @@ -198,7 +198,6 @@ export class FormCurrentEmploymentComponent extends BaseForm implements OnInit { ) } - get departmentNameIsInvalidAndTouched() { return ( this.form.hasError('maxlength', 'departmentName') && @@ -206,7 +205,6 @@ export class FormCurrentEmploymentComponent extends BaseForm implements OnInit { ) } - get roleTitleIsInvalidAndTouched() { return ( this.form.hasError('maxlength', 'roleTitle') && diff --git a/src/app/shared/validators/date/date.validator.ts b/src/app/shared/validators/date/date.validator.ts index dcec98c181..a10c835621 100644 --- a/src/app/shared/validators/date/date.validator.ts +++ b/src/app/shared/validators/date/date.validator.ts @@ -69,7 +69,9 @@ export function dateMonthYearValidator(dateType: string) { } } -export function endDateMonthYearValidator(): (c: AbstractControl) => { [key: string]: any } { +export function endDateMonthYearValidator(): (c: AbstractControl) => { + [key: string]: any +} { return (c: AbstractControl): { [key: string]: any } | null => { const endDateExistingErrors = Object.keys( c.get('endDateGroup').errors || {}