Skip to content

Commit

Permalink
Merge pull request #2494 from Christopher-Tihor/master
Browse files Browse the repository at this point in the history
EMBCESSMOD-4764: Responders Portal - Paper based file error
  • Loading branch information
GeorgeWalker authored Oct 21, 2024
2 parents 1fd3abb + 9ba7430 commit 8d8588c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -119,15 +119,6 @@
) {
<mat-error> Only digits allowed</mat-error>
}
@if (
supportDetailsFormControl?.paperSupportNumber.invalid &&
supportDetailsFormControl?.paperSupportNumber.hasError('userNameExists')
) {
<mat-error>
Paper Referral Number already exists for the same Support type:
{{ stepSupportsService?.supportTypeToAdd?.description }}</mat-error
>
}
</mat-form-field>
</div>
<div class="col-md-4">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -810,7 +810,6 @@ export class SupportDetailsComponent implements OnInit, OnDestroy {
this.supportDetailsForm
.get('paperSupportNumber')
.setValidators([
this.customValidation.userNameExistsValidator(filteredReferrals.length > 0).bind(this.customValidation),
this.customValidation
.conditionalValidation(
() => this.evacueeSessionService.isPaperBased,
Expand Down

0 comments on commit 8d8588c

Please sign in to comment.