diff --git a/src/libs/actions/Report.ts b/src/libs/actions/Report.ts index f913fc5f63f8..82bfe74ae09c 100644 --- a/src/libs/actions/Report.ts +++ b/src/libs/actions/Report.ts @@ -4913,6 +4913,18 @@ function deleteAppReport(reportID: string | undefined) { value: {[unreportedAction.reportActionID]: unreportedAction}, }); + successData.push({ + onyxMethod: Onyx.METHOD.MERGE, + key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${childReportID}`, + value: {[unreportedAction.reportActionID]: {pendingAction: null}}, + }); + + failureData.push({ + onyxMethod: Onyx.METHOD.MERGE, + key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${childReportID}`, + value: {[unreportedAction.reportActionID]: null}, + }); + if (transactionID) { transactionIDToReportActionAndThreadData[transactionID] = { moneyRequestPreviewReportActionID: newReportActionID,