Skip to content

Commit

Permalink
Merge pull request #33697 from tienifr/fix/33535
Browse files Browse the repository at this point in the history
fix: Red dot does not appear in LHN conversation when IOU deletion error occurs
  • Loading branch information
robertjchen authored Jan 8, 2024
2 parents 463b7bc + ccf9b5e commit 3ee24ec
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/libs/actions/IOU.js
Original file line number Diff line number Diff line change
Expand Up @@ -2628,7 +2628,10 @@ function deleteMoneyRequest(transactionID, reportAction, isSingleTransactionView
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${chatReport.reportID}`,
value: {
[reportPreviewAction.reportActionID]: reportPreviewAction,
[reportPreviewAction.reportActionID]: {
...reportPreviewAction,
errors: ErrorUtils.getMicroSecondOnyxError('iou.error.genericDeleteFailureMessage'),
},
},
},
...(shouldDeleteIOUReport
Expand Down

0 comments on commit 3ee24ec

Please sign in to comment.