Skip to content

Commit

Permalink
Merge pull request #34635 from dukenv0307/fix/34386
Browse files Browse the repository at this point in the history
Disable reply in thread for report preview when delete IOU report in offline
  • Loading branch information
puneetlath committed Jan 26, 2024
2 parents e485d9c + faca563 commit 4dbd99b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -2645,7 +2645,7 @@ function deleteMoneyRequest(transactionID, reportAction, isSingleTransactionView
amount: CurrencyUtils.convertToDisplayString(updatedIOUReport.total, updatedIOUReport.currency),
});
updatedReportPreviewAction.message[0].text = messageText;
updatedReportPreviewAction.message[0].html = messageText;
updatedReportPreviewAction.message[0].html = shouldDeleteIOUReport ? '' : messageText;

if (reportPreviewAction.childMoneyRequestCount > 0) {
updatedReportPreviewAction.childMoneyRequestCount = reportPreviewAction.childMoneyRequestCount - 1;
Expand Down

0 comments on commit 4dbd99b

Please sign in to comment.