Skip to content

Commit

Permalink
Merge pull request #39801 from bernhardoj/fix/39457-closing-distance-…
Browse files Browse the repository at this point in the history
…navigate-to-transaction-thread

Fix editing distance in one transaction report page navigates the user to transaction thread
  • Loading branch information
marcochavezf authored Apr 8, 2024
2 parents 723a680 + 1fee226 commit 327bfd3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/pages/iou/request/step/IOURequestStepDistance.js
Original file line number Diff line number Diff line change
Expand Up @@ -198,11 +198,11 @@ function IOURequestStepDistance({
const oldAddresses = _.mapObject(oldWaypoints, (waypoint) => _.pick(waypoint, 'address'));
const addresses = _.mapObject(waypoints, (waypoint) => _.pick(waypoint, 'address'));
if (_.isEqual(oldAddresses, addresses)) {
Navigation.dismissModal(report.reportID);
Navigation.dismissModal();
return;
}
IOU.updateMoneyRequestDistance(transaction.transactionID, report.reportID, waypoints);
Navigation.dismissModal(report.reportID);
Navigation.dismissModal();
return;
}

Expand Down

0 comments on commit 327bfd3

Please sign in to comment.