Skip to content

Commit

Permalink
fix #54861
Browse files Browse the repository at this point in the history
  • Loading branch information
JKobrynski committed Jan 9, 2025
1 parent e5101df commit 8f2d3e9
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions src/components/MoneyRequestConfirmationList.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -429,11 +429,14 @@ function MoneyRequestConfirmationList({
text = translate('common.next');
}
} else if (isTypeTrackExpense) {
text = translate('iou.createExpenseWithAmount', {amount: formattedAmount});
text = translate('iou.createExpense');
if (iouAmount !== 0) {
text = translate('iou.createExpenseWithAmount', {amount: formattedAmount});
}
} else if (isTypeSplit && iouAmount === 0) {
text = translate('iou.splitExpense');
} else if ((receiptPath && isTypeRequest) || isDistanceRequestWithPendingRoute || isPerDiemRequest) {
text = translate('iou.submitExpense');
text = translate('iou.createExpense');
if (iouAmount !== 0) {
text = translate('iou.createExpenseWithAmount', {amount: formattedAmount});
}
Expand Down

0 comments on commit 8f2d3e9

Please sign in to comment.