Skip to content

Commit

Permalink
Merge pull request #56397 from nkdengineer/fix/56307
Browse files Browse the repository at this point in the history
fix: App is stuck on the confirmation page when submitting expense
  • Loading branch information
techievivek authored Feb 5, 2025
2 parents 4bf233e + 46d1920 commit f22c07b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/libs/API/parameters/AddTrackedExpenseToPolicyParams.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ type AddTrackedExpenseToPolicyParams = {
customUnitRateID?: string;
policyID: string;
transactionID: string;
actionableWhisperReportActionID: string;
actionableWhisperReportActionID: string | undefined;
moneyRequestReportID: string;
reportPreviewReportActionID: string;
modifiedExpenseReportActionID: string;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ type ConvertTrackedExpenseToRequestParams = {
payerAccountID: number;
chatReportID: string;
transactionID: string;
actionableWhisperReportActionID: string;
actionableWhisperReportActionID: string | undefined;
createdChatReportActionID?: string;
moneyRequestReportID: string;
moneyRequestCreatedReportActionID: string | undefined;
Expand Down
6 changes: 3 additions & 3 deletions src/libs/actions/IOU.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4157,7 +4157,7 @@ type AddTrackedExpenseToPolicyParam = {
merchant: string;
transactionID: string;
reimbursable: boolean;
actionableWhisperReportActionID: string;
actionableWhisperReportActionID: string | undefined;
moneyRequestReportID: string;
reportPreviewReportActionID: string;
modifiedExpenseReportActionID: string;
Expand All @@ -4174,7 +4174,7 @@ function convertTrackedExpenseToRequest(
payerEmail: string,
chatReportID: string,
transactionID: string,
actionableWhisperReportActionID: string,
actionableWhisperReportActionID: string | undefined,
createdChatReportActionID: string | undefined,
moneyRequestReportID: string,
moneyRequestCreatedReportActionID: string | undefined,
Expand Down Expand Up @@ -4427,7 +4427,7 @@ function requestMoney(requestMoneyInformation: RequestMoneyInformation) {

switch (action) {
case CONST.IOU.ACTION.SUBMIT: {
if (!linkedTrackedExpenseReportAction || !actionableWhisperReportActionID || !linkedTrackedExpenseReportID) {
if (!linkedTrackedExpenseReportAction || !linkedTrackedExpenseReportID) {
return;
}
const workspaceParams =
Expand Down

0 comments on commit f22c07b

Please sign in to comment.