Skip to content

Commit

Permalink
nikhil94058 contributed in session-links-recovery-page.components.ts …
Browse files Browse the repository at this point in the history
…page removed whitespace
  • Loading branch information
nikhil94058 committed Jan 10, 2025
1 parent 6d4f9f4 commit e015888
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { FeedbackSessionsService } from '../../../services/feedback-sessions.ser
import { StatusMessageService } from '../../../services/status-message.service';
import { SessionLinksRecoveryResponse } from '../../../types/api-output';
import { ErrorMessageOutput } from '../../error-message-output';

import { noWhitespaceValidator } from './validators/no-whitespace.validator';

Check failure on line 10 in src/web/app/pages-help/session-links-recovery/session-links-recovery-page.component.ts

View workflow job for this annotation

GitHub Actions / lint (ubuntu-latest)

`./validators/no-whitespace.validator` import should occur before import of `../../../environments/environment`

Check failure on line 10 in src/web/app/pages-help/session-links-recovery/session-links-recovery-page.component.ts

View workflow job for this annotation

GitHub Actions / lint (windows-latest)

`./validators/no-whitespace.validator` import should occur before import of `../../../environments/environment`
/**
* Student recover session links page.
*/
Expand Down Expand Up @@ -36,7 +36,7 @@ export class SessionLinksRecoveryPageComponent implements OnInit {

ngOnInit(): void {
this.formSessionLinksRecovery = this.formBuilder.group({
email: ['', Validators.required],
email: ['', [Validators.required, noWhitespaceValidator]],
recaptcha: [''],
});
}
Expand Down

0 comments on commit e015888

Please sign in to comment.