Skip to content

Commit

Permalink
Merge pull request Expensify#49040 from nkdengineer/fix/47976
Browse files Browse the repository at this point in the history
fix:  LHN shows Hidden report with RBR
  • Loading branch information
Gonals authored Oct 10, 2024
2 parents 517ffaa + c15df93 commit 3cf3059
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libs/actions/ReportActions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ function clearReportActionErrors(reportID: string, reportAction: ReportAction, k
const linkedTransactionID = ReportActionUtils.getLinkedTransactionID(reportAction.reportActionID, originalReportID || '-1');
if (linkedTransactionID) {
Onyx.set(`${ONYXKEYS.COLLECTION.TRANSACTION}${linkedTransactionID}`, null);
Onyx.set(`${ONYXKEYS.COLLECTION.REPORT}${reportAction.childReportID}`, null);
}

// Delete the failed task report too
Expand Down

0 comments on commit 3cf3059

Please sign in to comment.