Skip to content

Commit

Permalink
Fix accessing Check answers page without a NINO (#761)
Browse files Browse the repository at this point in the history
  • Loading branch information
gunndabad authored Nov 10, 2023
1 parent 507ddb1 commit 619026a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public async Task LookupTrn()
Steps.Landing => true,
CoreSignInJourneyWithTrnLookup.Steps.NiNumber => true,
CoreSignInJourneyWithTrnLookup.Steps.Trn => AuthenticationState.HasNationalInsuranceNumber.HasValue,
Steps.CheckAnswers => AuthenticationState.HasNationalInsuranceNumber == true && AuthenticationState.StatedTrn is not null,
Steps.CheckAnswers => AuthenticationState.HasNationalInsuranceNumber.HasValue && AuthenticationState.StatedTrn is not null,
_ => false
};

Expand Down

0 comments on commit 619026a

Please sign in to comment.