Skip to content

Commit f85122e

Browse files
Merge pull request #58267 from bernhardoj/fix/56692-concierge-page-doesnt-open
Fix can't deep link to non-report page while logged out
2 parents 86af2b3 + bf23794 commit f85122e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/libs/actions/Report.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3115,7 +3115,7 @@ function openReportFromDeepLink(url: string) {
31153115
// Check if the report exists in the collection
31163116
const report = allReports?.[`${ONYXKEYS.COLLECTION.REPORT}${reportID}`];
31173117
// If the report does not exist, navigate to the last accessed report or Concierge chat
3118-
if (!report) {
3118+
if (reportID && !report) {
31193119
const lastAccessedReportID = findLastAccessedReport(false, shouldOpenOnAdminRoom(), undefined, reportID)?.reportID;
31203120
if (lastAccessedReportID) {
31213121
const lastAccessedReportRoute = ROUTES.REPORT_WITH_ID.getRoute(lastAccessedReportID);

0 commit comments

Comments
 (0)