Skip to content

Commit

Permalink
Merge pull request #30097 from Expensify/jasper-fix-blocker-30020
Browse files Browse the repository at this point in the history
  • Loading branch information
francoisl authored Oct 20, 2023
2 parents 1fa4923 + f912545 commit a0083a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/ReportScreen.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ function ReportScreen({
prevOnyxReportID === routeReportID &&
!onyxReportID &&
prevReport.statusNum === CONST.REPORT.STATUS.OPEN &&
(report.statusNum === CONST.REPORT.STATUS.CLOSED || !report.statusNum))
(report.statusNum === CONST.REPORT.STATUS.CLOSED || (!report.statusNum && !prevReport.parentReportID)))
) {
Navigation.dismissModal();
if (Navigation.getTopmostReportId() === prevOnyxReportID) {
Expand Down

0 comments on commit a0083a6

Please sign in to comment.