File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3092,15 +3092,23 @@ export default function ProjectManagement({
30923092 onRefreshTasks = { ( ) => setIsRequestSync ( true ) }
30933093 />
30943094 ) }
3095- { viewMode === "DM" && activeWorkspaceId && authTeamMemberId && (
3096- < DirectMessages
3097- workspaceId = { activeWorkspaceId }
3098- myMemberId = { authTeamMemberId }
3099- myName = { user ?. name ?? "Unknown" }
3100- myPhoto = { userPhoto ?? undefined }
3101- team = { team }
3102- isPlaySound = { isPlaySound }
3103- />
3095+ { viewMode === "DM" && activeWorkspaceId && (
3096+ < >
3097+ { authTeamMemberId ? (
3098+ < DirectMessages
3099+ workspaceId = { activeWorkspaceId }
3100+ myMemberId = { authTeamMemberId }
3101+ myName = { user ?. name ?? "Unknown" }
3102+ myPhoto = { userPhoto ?? undefined }
3103+ team = { team }
3104+ isPlaySound = { isPlaySound }
3105+ />
3106+ ) : (
3107+ < div className = "flex items-center justify-center py-20 text-gray-400 text-sm" >
3108+ Loading team data…
3109+ </ div >
3110+ ) }
3111+ </ >
31043112 ) }
31053113 { viewMode === "INTEGRATIONS" && activeWorkspaceId && (
31063114 < IntegrationsPanel workspaceId = { activeWorkspaceId } />
You can’t perform that action at this time.
0 commit comments