Skip to content

Commit

Permalink
fix bug global create
Browse files Browse the repository at this point in the history
  • Loading branch information
nkdengineer committed Feb 11, 2025
1 parent 9c409e0 commit 3ab70e7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/MoneyRequestConfirmationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ function MoneyRequestConfirmationList({
const isTypeTrackExpense = iouType === CONST.IOU.TYPE.TRACK;
const isTypeInvoice = iouType === CONST.IOU.TYPE.INVOICE;
const isScanRequest = useMemo(() => isScanRequestUtil(transaction), [transaction]);
const isCreateExpenseFlow = transaction?.isFromGlobalCreate && iouType === CONST.IOU.TYPE.CREATE && !isPerDiemRequest;
const isCreateExpenseFlow = transaction?.isFromGlobalCreate && !isPerDiemRequest;

const transactionID = transaction?.transactionID;
const customUnitRateID = getRateID(transaction);
Expand Down Expand Up @@ -797,7 +797,7 @@ function MoneyRequestConfirmationList({
return;
}

Navigation.navigate(ROUTES.MONEY_REQUEST_STEP_PARTICIPANTS.getRoute(iouType, transactionID, transaction.reportID));
Navigation.navigate(ROUTES.MONEY_REQUEST_STEP_PARTICIPANTS.getRoute(CONST.IOU.TYPE.CREATE, transactionID, transaction.reportID));
};

/**
Expand Down

0 comments on commit 3ab70e7

Please sign in to comment.