We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 990a128 commit 4cced3eCopy full SHA for 4cced3e
packages/compass-indexes/src/components/regular-indexes-table/regular-index-actions.tsx
@@ -109,7 +109,7 @@ const IndexActions: React.FunctionComponent<IndexActionsProps> = ({
109
if (buildProgress > 0 && buildProgress < 1) {
110
return (
111
<div className={buildProgressStyles} data-testid="index-building-spinner">
112
- <Body>Building... {(buildProgress * 100) | 0}%</Body>
+ <Body>Building... {Math.trunc(buildProgress * 100)}%</Body>
113
<SpinLoader size={16} title="Index build in progress" />
114
<ItemActionGroup<IndexAction>
115
data-testid="index-actions"
0 commit comments