We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents d719349 + d133b6a commit 74e1436Copy full SHA for 74e1436
1 file changed
src/libs/SidebarUtils.ts
@@ -238,13 +238,7 @@ function shouldDisplayReportInLHN(
238
const isSystemChat = isSystemChatUtil(report);
239
const isReportArchived = isArchivedReport(reportNameValuePairs);
240
const shouldOverrideHidden =
241
- hasValidDraftComment(report.reportID) ||
242
- hasErrorsOtherThanFailedReceipt ||
243
- isFocused ||
244
- isSystemChat ||
245
- !!report.isPinned ||
246
- (!isInFocusMode && isReportArchived) ||
247
- reportAttributes?.[report?.reportID]?.requiresAttention;
+ hasValidDraftComment(report.reportID) || hasErrorsOtherThanFailedReceipt || isFocused || isSystemChat || !!report.isPinned || reportAttributes?.[report?.reportID]?.requiresAttention;
248
249
if (isHidden && !shouldOverrideHidden) {
250
return {shouldDisplay: false};
0 commit comments