From e7a7b3ec489f0c883a177086f40eda2c3b2f291e Mon Sep 17 00:00:00 2001 From: ntdiary <2471314@gmail.com> Date: Fri, 18 Nov 2022 23:53:22 +0800 Subject: [PATCH] Fix after requesting money badge in the DM flashes with red 0.00 --- src/libs/actions/IOU.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/actions/IOU.js b/src/libs/actions/IOU.js index 438236afdefa..9fb462f64b50 100644 --- a/src/libs/actions/IOU.js +++ b/src/libs/actions/IOU.js @@ -113,7 +113,7 @@ function requestMoney(report, amount, currency, recipientEmail, participant, com }, }, { - onyxMethod: CONST.ONYX.METHOD.MERGE, + onyxMethod: originalIOUStatus ? CONST.ONYX.METHOD.MERGE : CONST.ONYX.METHOD.SET, key: `${ONYXKEYS.COLLECTION.REPORT_IOUS}${iouReport.reportID}`, value: iouReport, },