@@ -32,12 +32,12 @@ function generateId({type, id}: {type: 'pdisk' | 'vdisk'; id: string}) {
3232interface NodeStructureProps {
3333 nodeId : string ;
3434 className ?: string ;
35- additionalNodesInfo ?: AdditionalNodesProps ;
35+ additionalNodesProps ?: AdditionalNodesProps ;
3636}
3737
3838const autofetcher = new AutoFetcher ( ) ;
3939
40- function NodeStructure ( { nodeId, className, additionalNodesInfo } : NodeStructureProps ) {
40+ function NodeStructure ( { nodeId, className, additionalNodesProps } : NodeStructureProps ) {
4141 const dispatch = useDispatch ( ) ;
4242
4343 const nodeStructure = useTypedSelector ( selectNodeStructure ) ;
@@ -46,10 +46,10 @@ function NodeStructure({nodeId, className, additionalNodesInfo}: NodeStructurePr
4646 const nodeData = useTypedSelector ( ( state ) => state . node ?. data ?. SystemStateInfo ?. [ 0 ] ) ;
4747
4848 const nodeHref = useMemo ( ( ) => {
49- return additionalNodesInfo ?. getNodeRef
50- ? additionalNodesInfo . getNodeRef ( nodeData )
49+ return additionalNodesProps ?. getNodeRef
50+ ? additionalNodesProps . getNodeRef ( nodeData )
5151 : undefined ;
52- } , [ nodeData , additionalNodesInfo ] ) ;
52+ } , [ nodeData , additionalNodesProps ] ) ;
5353
5454 const { pdiskId : pdiskIdFromUrl , vdiskId : vdiskIdFromUrl } = url . parse (
5555 window . location . href ,
0 commit comments