Skip to content

Commit

Permalink
fix: minor improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
koko57 committed Sep 30, 2024
1 parent 588f210 commit fd6258e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/NextStepUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ function buildNextStep(report: OnyxEntry<Report>, predictedNextStatus: ValueOf<t
],
};

if (policy.reimbursementChoice === CONST.POLICY.REIMBURSEMENT_CHOICES.REIMBURSEMENT_NO) {
if (!PolicyUtils.arePaymentsEnabled(policy)) {
optimisticNextStep = noActionRequired;

break;
Expand Down

0 comments on commit fd6258e

Please sign in to comment.