@@ -49,7 +49,7 @@ import './Nodes.scss';
4949export interface NodesProps {
5050 path ?: string ;
5151 database ?: string ;
52- parentRef : React . RefObject < HTMLElement > ;
52+ scrollContainerRef : React . RefObject < HTMLElement > ;
5353 additionalNodesProps ?: AdditionalNodesProps ;
5454
5555 withPeerRoleFilter ?: boolean ;
@@ -64,7 +64,7 @@ export interface NodesProps {
6464export function Nodes ( {
6565 path,
6666 database,
67- parentRef ,
67+ scrollContainerRef ,
6868 additionalNodesProps,
6969 withPeerRoleFilter,
7070 columns = getNodesColumns ( { database, getNodeRef : additionalNodesProps ?. getNodeRef } ) ,
@@ -112,7 +112,7 @@ export function Nodes({
112112 < GroupedNodesComponent
113113 path = { path }
114114 database = { database }
115- parentRef = { parentRef }
115+ scrollContainerRef = { scrollContainerRef }
116116 withPeerRoleFilter = { withPeerRoleFilter }
117117 columns = { preparedColumns }
118118 defaultColumnsIds = { defaultColumnsIds }
@@ -127,7 +127,7 @@ export function Nodes({
127127 < NodesComponent
128128 path = { path }
129129 database = { database }
130- parentRef = { parentRef }
130+ scrollContainerRef = { scrollContainerRef }
131131 withPeerRoleFilter = { withPeerRoleFilter }
132132 columns = { preparedColumns }
133133 defaultColumnsIds = { defaultColumnsIds }
@@ -144,7 +144,7 @@ export function Nodes({
144144interface NodesComponentProps {
145145 path ?: string ;
146146 database ?: string ;
147- parentRef : React . RefObject < HTMLElement > ;
147+ scrollContainerRef : React . RefObject < HTMLElement > ;
148148
149149 withPeerRoleFilter ?: boolean ;
150150
@@ -158,7 +158,7 @@ interface NodesComponentProps {
158158function NodesComponent ( {
159159 path,
160160 database,
161- parentRef ,
161+ scrollContainerRef ,
162162 withPeerRoleFilter,
163163 columns,
164164 defaultColumnsIds,
@@ -200,7 +200,7 @@ function NodesComponent({
200200 uptimeFilter = { uptimeFilter }
201201 peerRoleFilter = { peerRoleFilter }
202202 columns = { columnsToShow }
203- parentRef = { parentRef }
203+ scrollContainerRef = { scrollContainerRef }
204204 tableContainerRef = { tableContainerRef }
205205 />
206206 </ TableWithControlsLayout . Table >
@@ -249,7 +249,7 @@ interface NodeGroupProps {
249249 peerRoleFilter ?: NodesPeerRole ;
250250 groupByParam ?: NodesGroupByField ;
251251 columns : Column < NodesPreparedEntity > [ ] ;
252- parentRef : React . RefObject < HTMLElement > ;
252+ scrollContainerRef : React . RefObject < HTMLElement > ;
253253 tableContainerRef : React . RefObject < HTMLDivElement > ;
254254 onIsExpandedChange : ( name : string , isExpanded : boolean ) => void ;
255255}
@@ -264,7 +264,7 @@ const NodeGroup = React.memo(function NodeGroup({
264264 peerRoleFilter,
265265 groupByParam,
266266 columns,
267- parentRef ,
267+ scrollContainerRef ,
268268 tableContainerRef,
269269 onIsExpandedChange,
270270} : NodeGroupProps ) {
@@ -288,7 +288,7 @@ const NodeGroup = React.memo(function NodeGroup({
288288 filterGroupBy = { groupByParam }
289289 initialEntitiesCount = { count }
290290 columns = { columns }
291- parentRef = { parentRef }
291+ scrollContainerRef = { scrollContainerRef }
292292 tableContainerRef = { tableContainerRef }
293293 />
294294 </ TableGroup >
@@ -298,7 +298,7 @@ const NodeGroup = React.memo(function NodeGroup({
298298function GroupedNodesComponent ( {
299299 path,
300300 database,
301- parentRef ,
301+ scrollContainerRef ,
302302 withPeerRoleFilter,
303303 columns,
304304 defaultColumnsIds,
@@ -369,7 +369,7 @@ function GroupedNodesComponent({
369369 peerRoleFilter = { peerRoleFilter }
370370 groupByParam = { groupByParam }
371371 columns = { columnsToShow }
372- parentRef = { parentRef }
372+ scrollContainerRef = { scrollContainerRef }
373373 tableContainerRef = { tableContainerRef }
374374 onIsExpandedChange = { setIsGroupExpanded }
375375 />
0 commit comments