Skip to content

Commit

Permalink
disable reply in thread for report preview when delete IOU report in …
Browse files Browse the repository at this point in the history
…offline
  • Loading branch information
dukenv0307 committed Jan 17, 2024
1 parent a2f5bd5 commit faca563
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 @@ -2568,7 +2568,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 faca563

Please sign in to comment.