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
  • Loading branch information
madmax330 authored Nov 5, 2021
2 parents 97a933d + 8198cea commit f6e5fb5
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 f6e5fb5

Please sign in to comment.