File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
compass-components/src/components
compass-global-writes/src/components Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -49,6 +49,7 @@ import {
4949 TableBody ,
5050 flexRender ,
5151 useLeafyGreenTable ,
52+ getExpandedRowModel ,
5253 getFilteredRowModel ,
5354} from '@leafygreen-ui/table' ;
5455import type { Row as LgTableRowType } from '@tanstack/table-core' ; // TODO(COMPASS-8437): import from LG
@@ -169,6 +170,7 @@ export {
169170 InfoSprinkle ,
170171 flexRender ,
171172 useLeafyGreenTable ,
173+ getExpandedRowModel ,
172174 getFilteredRowModel ,
173175 type LgTableRowType ,
174176 Combobox ,
Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ import {
1515 type HeaderGroup ,
1616 SearchInput ,
1717 type LGTableDataType ,
18+ getExpandedRowModel ,
1819 getFilteredRowModel ,
1920 type LgTableRowType ,
2021} from '@mongodb-js/compass-components' ;
@@ -105,6 +106,7 @@ export function ShardZonesTable({
105106 onExpandedChange : setExpanded ,
106107 enableGlobalFilter : true ,
107108 getFilteredRowModel : getFilteredRowModel ( ) ,
109+ getExpandedRowModel : getExpandedRowModel ( ) ,
108110 getIsRowExpanded : ( row ) => {
109111 return (
110112 ( searchText && hasFilteredChildren ( row ) ) ||
You can’t perform that action at this time.
0 commit comments