Skip to content

Commit

Permalink
fix: apply suggestion
Browse files Browse the repository at this point in the history
  • Loading branch information
koko57 committed Oct 10, 2024
1 parent d28c823 commit cf8d531
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/libs/NextStepUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,12 @@ function buildNextStep(report: OnyxEntry<Report>, predictedNextStatus: ValueOf<t
}

// Generates an optimistic nextStep once a report has been closed for example in the case of Submit and Close approval flow
// or when a report has been paid
case CONST.REPORT.STATUS_NUM.CLOSED:
optimisticNextStep = noActionRequired;

break;

// Generates an optimistic nextStep once a report has been paid
case CONST.REPORT.STATUS_NUM.REIMBURSED:
optimisticNextStep = noActionRequired;

Expand Down

0 comments on commit cf8d531

Please sign in to comment.