diff --git a/src/pages/ReportAvatar.tsx b/src/pages/ReportAvatar.tsx index 7d9321b95281..8f8bb2229af1 100644 --- a/src/pages/ReportAvatar.tsx +++ b/src/pages/ReportAvatar.tsx @@ -37,6 +37,7 @@ function ReportAvatar({report = {} as Report, policies, isLoadingApp = true, rou fileName = groupChatDraft?.originalFileName ?? undefined; // When user enters custom group name, it typically stored in groupChatDraft.reportName // If that is null then we will use ReportUtils.getGroupChatName to get the name + /* eslint-disable @typescript-eslint/prefer-nullish-coalescing */ title = groupChatDraft?.reportName || ReportUtils.getGroupChatName(groupChatDraft?.participants.map((participant) => participant.accountID) ?? [], true); shouldShowNotFoundPage = !isLoadingApp && !groupChatDraft; } else {