diff --git a/ui/src/components/ReportsToPicker.tsx b/ui/src/components/ReportsToPicker.tsx index 5c9fe50d..6ce5a40b 100644 --- a/ui/src/components/ReportsToPicker.tsx +++ b/ui/src/components/ReportsToPicker.tsx @@ -48,7 +48,7 @@ export function ReportsToPicker({ {current ? ( <> - {`Reports to ${current.name}`} + {`Reports to ${current.name}${current.status === "terminated" ? " (terminated)" : ""}`} ) : ( <> @@ -77,7 +77,7 @@ export function ReportsToPicker({ type="button" key={a.id} className={cn( - "flex items-center gap-2 w-full px-2 py-1.5 text-xs rounded hover:bg-accent/50 truncate", + "flex items-center gap-2 w-full min-w-0 px-2 py-1.5 text-xs rounded hover:bg-accent/50 overflow-hidden", a.id === value && "bg-accent", )} onClick={() => { @@ -86,8 +86,8 @@ export function ReportsToPicker({ }} > - {a.name} - {roleLabels[a.role] ?? a.role} + {a.name} + {roleLabels[a.role] ?? a.role} ))}