Skip to content

Commit

Permalink
Merge pull request #47077 from dominictb/fix/47042
Browse files Browse the repository at this point in the history
fix: track expense distance error
(cherry picked from commit e748661)
  • Loading branch information
pecanoro authored and OSBotify committed Aug 8, 2024
1 parent dce6615 commit 8d2f90b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/iou/request/step/IOURequestStepConfirmation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ function IOURequestStepConfirmation({
formHasBeenSubmitted.current = true;
playSound(SOUNDS.DONE);

if (isDistanceRequest && !isMovingTransactionFromTrackExpense) {
if (iouType !== CONST.IOU.TYPE.TRACK && isDistanceRequest && !isMovingTransactionFromTrackExpense) {
createDistanceRequest(iouType === CONST.IOU.TYPE.SPLIT ? splitParticipants : selectedParticipants, trimmedComment);
return;
}
Expand Down

0 comments on commit 8d2f90b

Please sign in to comment.