Skip to content

Commit

Permalink
Merge pull request #47831 from nkdengineer/fix/47405
Browse files Browse the repository at this point in the history
fix: Self DM header shows skeleton loading
  • Loading branch information
carlosmiceli authored Aug 28, 2024
2 parents dc5aaeb + ead4787 commit 1810346
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/ReportUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3658,7 +3658,7 @@ function getReportName(
if (reportID) {
const reportNameFromCache = reportNameCache.get(cacheKey);

if (reportNameFromCache && reportNameFromCache.reportName === report?.reportName) {
if (reportNameFromCache?.reportName && reportNameFromCache.reportName === report?.reportName) {
return reportNameFromCache.reportName;
}
}
Expand Down

0 comments on commit 1810346

Please sign in to comment.