Skip to content

Commit

Permalink
fix: Red dot does not appear in LHN conversation when IOU deletion er…
Browse files Browse the repository at this point in the history
…ror occurs
  • Loading branch information
tienifr committed Dec 28, 2023
1 parent 376bb95 commit ccf9b5e
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 @@ -2488,7 +2488,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 ccf9b5e

Please sign in to comment.