Skip to content

Commit 9f0c9b8

Browse files
committed
remove the icon and tooltip from the rolling index status badge
1 parent ec0a160 commit 9f0c9b8

File tree

1 file changed

+6
-15
lines changed

1 file changed

+6
-15
lines changed

packages/compass-indexes/src/components/regular-indexes-table/status-field.tsx

Lines changed: 6 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ import {
88
Badge,
99
BadgeVariant,
1010
useDarkMode,
11-
Icon,
1211
} from '@mongodb-js/compass-components';
1312
import type { InProgressIndex } from '../../modules/regular-indexes';
1413

@@ -64,21 +63,13 @@ const StatusField: React.FunctionComponent<StatusFieldProps> = ({
6463
)}
6564

6665
{status === 'building' && (
67-
<Tooltip
68-
enabled={true}
69-
trigger={
70-
<Badge
71-
data-testid="index-building"
72-
variant={BadgeVariant.Blue}
73-
className={iconBadgeStyles}
74-
>
75-
Building
76-
<Icon glyph="InfoWithCircle" />
77-
</Badge>
78-
}
66+
<Badge
67+
data-testid="index-building"
68+
variant={BadgeVariant.Blue}
69+
className={iconBadgeStyles}
7970
>
80-
<Body>This index is being built in a rolling process</Body>
81-
</Tooltip>
71+
Building
72+
</Badge>
8273
)}
8374

8475
{status === 'inprogress' && (

0 commit comments

Comments
 (0)