Skip to content

Commit 90a1901

Browse files
authored
Merge pull request Expensify#65538 from thelullabyy/fix/65413
2 parents e2f67f9 + ec9a775 commit 90a1901

1 file changed

Lines changed: 12 additions & 0 deletions

File tree

src/libs/actions/Report.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4913,6 +4913,18 @@ function deleteAppReport(reportID: string | undefined) {
49134913
value: {[unreportedAction.reportActionID]: unreportedAction},
49144914
});
49154915

4916+
successData.push({
4917+
onyxMethod: Onyx.METHOD.MERGE,
4918+
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${childReportID}`,
4919+
value: {[unreportedAction.reportActionID]: {pendingAction: null}},
4920+
});
4921+
4922+
failureData.push({
4923+
onyxMethod: Onyx.METHOD.MERGE,
4924+
key: `${ONYXKEYS.COLLECTION.REPORT_ACTIONS}${childReportID}`,
4925+
value: {[unreportedAction.reportActionID]: null},
4926+
});
4927+
49164928
if (transactionID) {
49174929
transactionIDToReportActionAndThreadData[transactionID] = {
49184930
moneyRequestPreviewReportActionID: newReportActionID,

0 commit comments

Comments
 (0)