π₯π₯π₯ Open-source Jira, Linear, Monday, and ClickUp alternative. Plane is a modern project management platform to manage tasks, sprints, docs, and triage.
TypeScript boardsbug-trackerdjangodockerganttissue-trackerjirajira-alternativekanbanlinearpostgresqlproduct-managementproject-managementproject-planningpythonreactredistypesciptvitework-management
[WEB-5125] fix: suspended user view #7964
Vamsi Krishna97e662215a5c
diff --git a/apps/web/core/components/workspace/settings/member-columns.tsx b/apps/web/core/components/workspace/settings/member-columns.tsxindex 3973fa55a5..bdcb3d3a0e 100644--- a/apps/web/core/components/workspace/settings/member-columns.tsx+++ b/apps/web/core/components/workspace/settings/member-columns.tsx@@ -49,33 +49,24 @@ export const NameColumn: React.FC<NameProps> = (props) => {<div className="relative group"><div className="flex items-center gap-x-4 gap-y-2 w-72 justify-between"><div className="flex items-center gap-x-2 gap-y-2 flex-1">- {avatar_url && avatar_url.trim() !== "" ? (+ {isSuspended ? (+ <div className="bg-custom-background-80 rounded-full p-0.5">+ <SuspendedUserIcon className="h-4 w-4 text-custom-text-400" />+ </div>+ ) : avatar_url && avatar_url.trim() !== "" ? (<Link href={`/${workspaceSlug}/profile/${id}`}><span className="relative flex h-6 w-6 items-center justify-center rounded-full capitalize text-white">- {isSuspended ? (- <SuspendedUserIcon className="h-4 w-4 text-custom-text-400" />- ) : (- <img- src={getFileURL(avatar_url)}- className="absolute left-0 top-0 h-full w-full rounded-full object-cover"- alt={display_name || email}- />- )}+ <img+ src={getFileURL(avatar_url)}+ className="absolute left-0 top-0 h-full w-full rounded-full object-cover"+ alt={display_name || email}+ /></span></Link>) : (<Link href={`/${workspaceSlug}/profile/${id}`}>- <span- className={cn(- "relative flex h-4 w-4 text-xs items-center justify-center rounded-full capitalize text-white",- isSuspended ? "bg-custom-background-80" : "bg-gray-700"- )}- >- {isSuspended ? (- <SuspendedUserIcon className="h-4 w-4 text-custom-text-400" />- ) : (- (email ?? display_name ?? "?")[0]- )}+ <span className="relative flex h-4 w-4 text-xs items-center justify-center rounded-full capitalize text-white bg-gray-700">+ {(email ?? display_name ?? "?")[0]}</span></Link>)}