Skip to content

Commit

Permalink
Merge pull request #36529 from rezkiy37/fix/36510-next-step-clarify-m…
Browse files Browse the repository at this point in the history
…essage

Fix a predicted report status for a next step
  • Loading branch information
rlinoz authored Feb 19, 2024
2 parents 29b8b95 + b009d2b commit 0f409d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -871,7 +871,7 @@ function getMoneyRequestInformation(
}
: {};

const optimisticNextStep = NextStepUtils.buildNextStep(iouReport, needsToBeManuallySubmitted ? CONST.REPORT.STATUS_NUM.OPEN : CONST.REPORT.STATUS_NUM.SUBMITTED);
const optimisticNextStep = NextStepUtils.buildNextStep(iouReport, CONST.REPORT.STATUS_NUM.OPEN);

// STEP 5: Build Onyx Data
const [optimisticData, successData, failureData] = buildOnyxDataForMoneyRequest(
Expand Down

0 comments on commit 0f409d4

Please sign in to comment.