Skip to content

Commit

Permalink
EMBCESSMOD-4764: Responders Portal - Paper based file error
Browse files Browse the repository at this point in the history
Removed validator checking for duplicate supports in paper files.
  • Loading branch information
Christopher-Tihor committed Oct 21, 2024
1 parent 1fd3abb commit 9ba7430
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 9ba7430

Please sign in to comment.