Skip to content

Commit 238dcab

Browse files
authored
Merge pull request #59360 from callstack-internal/fix-room-and-chat-visibility-after-removing-workspace
Workspace chats and rooms disappear from the LHN after being deleted
2 parents ac84318 + 9d3feef commit 238dcab

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/libs/SidebarUtils.ts

+1
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,7 @@ function getOrderedReportIDs(
242242
isSystemChat ||
243243
// eslint-disable-next-line @typescript-eslint/prefer-nullish-coalescing
244244
report.isPinned ||
245+
(!isInFocusMode && isArchivedReportWithID(report.reportID)) ||
245246
requiresAttentionFromCurrentUser(report, parentReportAction);
246247
if (isHidden && !shouldOverrideHidden) {
247248
return;

0 commit comments

Comments
 (0)