Skip to content

Commit c92237b

Browse files
committed
remove double pass
1 parent 4cced3e commit c92237b

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

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

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,8 +260,11 @@ function mergeIndexes(
260260
// exclude partially-built indexes so that we don't include indexes that
261261
// only exist on the primary node and then duplicate those as rolling
262262
// builds in the same table
263-
.filter((index) => !rollingIndexNames.has(index.name))
264-
.filter((index) => !inProgressIndexNames.has(index.name))
263+
.filter(
264+
(index) =>
265+
!rollingIndexNames.has(index.name) &&
266+
!inProgressIndexNames.has(index.name)
267+
)
265268
.map((index) => {
266269
return { ...index, compassIndexType: 'regular-index' };
267270
});

0 commit comments

Comments
 (0)