Skip to content

Commit 3b663c0

Browse files
JulesssssOSBotify
authored andcommitted
Merge pull request #56868 from software-mansion-labs/fix/go-back-iou-category
[Navigation] Track expense-RHP reopens after changing category on confirm page & clicking back button twice (cherry picked from commit f8b5e6c) (CP triggered by Julesssss)
1 parent 25c9251 commit 3b663c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/iou/request/step/IOURequestStepCategory.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ function IOURequestStepCategory({
130130

131131
setMoneyRequestCategory(transactionID, updatedCategory, policy?.id);
132132

133-
if (action === CONST.IOU.ACTION.CATEGORIZE) {
133+
if (action === CONST.IOU.ACTION.CATEGORIZE && !backTo) {
134134
if (report?.reportID) {
135135
Navigation.navigate(ROUTES.MONEY_REQUEST_STEP_CONFIRMATION.getRoute(action, iouType, transactionID, report.reportID));
136136
}

0 commit comments

Comments
 (0)