Skip to content

Commit

Permalink
fix: Text filter on ProjectMoveModal (#8775)
Browse files Browse the repository at this point in the history
  • Loading branch information
mapmeld authored Jan 30, 2024
1 parent aa65c07 commit 994527f
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion webui/react/src/components/ProjectMoveModal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,11 @@ const ProjectMoveModalComponent: React.FC<Props> = ({ onMove, project }: Props)
{workspaces.map((workspace) => {
const disabled = workspace.archived || workspace.id === project.workspaceId;
return (
<Option disabled={disabled} key={workspace.id} value={workspace.id}>
<Option
disabled={disabled}
key={workspace.id}
label={workspace.name}
value={workspace.id}>
<div className={disabled ? css.workspaceOptionDisabled : ''}>
<Label truncate={{ tooltip: true }}>{workspace.name}</Label>
{workspace.archived && <Icon name="archive" title="Archived" />}
Expand Down

0 comments on commit 994527f

Please sign in to comment.