diff --git a/src/components/MoneyRequestConfirmationListFooter.tsx b/src/components/MoneyRequestConfirmationListFooter.tsx index f74d6111cccc3..a78cf88b1c0ae 100644 --- a/src/components/MoneyRequestConfirmationListFooter.tsx +++ b/src/components/MoneyRequestConfirmationListFooter.tsx @@ -485,6 +485,8 @@ function MoneyRequestConfirmationListFooter({ const mentionReportContextValue = useMemo(() => ({currentReportID: reportID, exactlyMatch: true}), [reportID]); + const isRateInteractive = !!rate && !isReadOnly && (!isUnreported || isTrackExpense) && iouType !== CONST.IOU.TYPE.SPLIT; + const getCategoryRightLabelIcon = useCallback(() => (willFieldBeAutomaticallyFilled(transaction, 'category') ? icons.Sparkles : undefined), [transaction, icons.Sparkles]); const getCategoryRightLabel = useCallback(() => { if (willFieldBeAutomaticallyFilled(transaction, 'category')) { @@ -600,7 +602,7 @@ function MoneyRequestConfirmationListFooter({ item: ( ), diff --git a/src/pages/iou/request/step/IOURequestStepUpgrade.tsx b/src/pages/iou/request/step/IOURequestStepUpgrade.tsx index e8f6e935bdc7c..53cdc87b1f23f 100644 --- a/src/pages/iou/request/step/IOURequestStepUpgrade.tsx +++ b/src/pages/iou/request/step/IOURequestStepUpgrade.tsx @@ -101,7 +101,7 @@ function IOURequestStepUpgrade({ // /:action/submit/... when shouldSubmitExpense === true as transaction is not selfDM anymore const backToRoute = shouldSubmitExpense ? ROUTES.MONEY_REQUEST_STEP_CONFIRMATION.getRoute(action, CONST.IOU.TYPE.SUBMIT, transactionID, reportID) : undefined; - Navigation.goBack(backToRoute); + Navigation.goBack(backToRoute, {compareParams: false}); setTransactionReport(transactionID, {reportID: expenseReportID}, true); // Let the confirmation step decide the distance rate because policy data is not fully available at this step