Skip to content

Commit

Permalink
Merge pull request #6240 from Expensify/vit-fixDeployBlockerBlankPage
Browse files Browse the repository at this point in the history
[CP Staging] Fix blank page upon signing out

(cherry picked from commit f6e5fb5)
  • Loading branch information
madmax330 authored and OSBotify committed Nov 5, 2021
1 parent a80f41f commit 3002183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pages/home/sidebar/SidebarLinks.js
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ class SidebarLinks extends React.Component {
if (reports.length === 0) {
return [];
}
const unreadReports = _.filter(reports, report => report.unreadActionCount > 0);
const unreadReports = _.filter(reports, report => report && report.unreadActionCount > 0);
return unreadReports;
}

Expand Down

0 comments on commit 3002183

Please sign in to comment.