Skip to content

Commit cc0bd0c

Browse files
Update packages/compass-global-writes/src/components/shard-zones-table.tsx
Co-authored-by: Sergey Petushkov <[email protected]>
1 parent 69831d0 commit cc0bd0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/compass-global-writes/src/components/shard-zones-table.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,9 +78,9 @@ const parseData = (shardZones: ShardZoneData[]): ShardZoneExpandableRow[] => {
7878
const hasFilteredChildren = (
7979
row: LgTableRowType<LGTableDataType<ShardZoneRow>>
8080
) =>
81-
row.subRows.filter(
81+
row.subRows.some(
8282
(subRow) => Object.values(subRow.columnFilters).includes(true) // columnFilters: e.g. { __global__: true }
83-
).length > 0;
83+
);
8484

8585
export function ShardZonesTable({
8686
shardZones,

0 commit comments

Comments
 (0)