Skip to content

Commit 3f332e8

Browse files
committed
Small fix
1 parent ffd0075 commit 3f332e8

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/libs/actions/IOU.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10143,6 +10143,8 @@ function approveMoneyRequest(expenseReport: OnyxEntry<OnyxTypes.Report>, full?:
1014310143
const predictedNextStatus = isLastApprover(approvalChain) ? CONST.REPORT.STATUS_NUM.APPROVED : CONST.REPORT.STATUS_NUM.SUBMITTED;
1014410144
const predictedNextState = isLastApprover(approvalChain) ? CONST.REPORT.STATE_NUM.APPROVED : CONST.REPORT.STATE_NUM.SUBMITTED;
1014510145
const managerID = isLastApprover(approvalChain) ? expenseReport.managerID : getNextApproverAccountID(expenseReport);
10146+
10147+
const optimisticNextStep = buildNextStep(expenseReport, predictedNextStatus);
1014610148
const chatReport = getReportOrDraftReport(expenseReport.chatReportID);
1014710149

1014810150
const optimisticReportActionsData: OnyxUpdate = {

0 commit comments

Comments
 (0)