@@ -104,6 +104,9 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
104104 { nodeStats . role === "R" &&
105105 < Badge color = "red" > R </ Badge >
106106 }
107+ { nodeStats . role === "-" &&
108+ < Badge > -</ Badge >
109+ }
107110
108111 < Link fontSize = "body-s" onFollow = { ( ) => onClickNode ( ) } > { nodeStats . name } </ Link >
109112 </ td >
@@ -117,6 +120,7 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
117120 { nodeStats . az }
118121 </ td >
119122 < td style = { { "width" :"9%" , "text-align" :"center" , "border-top" : "1pt solid " + configuration . colors . lines . separator100 } } >
123+ { nodeStats . role !== "-" &&
120124 < CompMetric04
121125 value = { ( nodeStats . opsInsert + nodeStats . opsQuery + nodeStats . opsUpdate + nodeStats . opsDelete + nodeStats . opsCommand ) || 0 }
122126 precision = { 0 }
@@ -129,8 +133,10 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
129133 fontColorValue = { configuration . colors . fonts . metric100 }
130134 chartColorLine = { "#D69855" }
131135 />
136+ }
132137 </ td >
133138 < td style = { { "width" :"9%" , "text-align" :"center" , "border-top" : "1pt solid " + configuration . colors . lines . separator100 } } >
139+ { nodeStats . role !== "-" &&
134140 < CompMetric01
135141 value = { ( nodeStats . docsDeleted + nodeStats . docsInserted + nodeStats . docsReturned + nodeStats . docsUpdated ) || 0 }
136142 title = { "" }
@@ -139,8 +145,10 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
139145 fontSizeValue = { "14px" }
140146 fontColorValue = { configuration . colors . fonts . metric100 }
141147 />
148+ }
142149 </ td >
143150 < td style = { { "width" :"9%" , "text-align" :"center" , "border-top" : "1pt solid " + configuration . colors . lines . separator100 } } >
151+ { nodeStats . role !== "-" &&
144152 < CompMetric01
145153 value = { nodeStats . connectionsCurrent }
146154 title = { "" }
@@ -149,8 +157,10 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
149157 fontSizeValue = { "14px" }
150158 fontColorValue = { configuration . colors . fonts . metric100 }
151159 />
160+ }
152161 </ td >
153162 < td style = { { "width" :"9%" , "text-align" :"center" , "border-top" : "1pt solid " + configuration . colors . lines . separator100 } } >
163+ { nodeStats . role !== "-" &&
154164 < CompMetric01
155165 value = { nodeStats . connectionsCreated }
156166 title = { "" }
@@ -159,8 +169,10 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
159169 fontSizeValue = { "14px" }
160170 fontColorValue = { configuration . colors . fonts . metric100 }
161171 />
172+ }
162173 </ td >
163174 < td style = { { "width" :"9%" , "text-align" :"center" , "border-top" : "1pt solid " + configuration . colors . lines . separator100 } } >
175+ { nodeStats . role !== "-" &&
164176 < CompMetric01
165177 value = { nodeStats . cpu }
166178 title = { "" }
@@ -169,8 +181,10 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
169181 fontSizeValue = { "14px" }
170182 fontColorValue = { configuration . colors . fonts . metric100 }
171183 />
184+ }
172185 </ td >
173186 < td style = { { "width" :"9%" , "text-align" :"center" , "border-top" : "1pt solid " + configuration . colors . lines . separator100 } } >
187+ { nodeStats . role !== "-" &&
174188 < CompMetric01
175189 value = { nodeStats . memory }
176190 title = { "" }
@@ -179,8 +193,10 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
179193 fontSizeValue = { "14px" }
180194 fontColorValue = { configuration . colors . fonts . metric100 }
181195 />
196+ }
182197 </ td >
183198 < td style = { { "width" :"9%" , "text-align" :"center" , "border-top" : "1pt solid " + configuration . colors . lines . separator100 } } >
199+ { nodeStats . role !== "-" &&
184200 < CompMetric01
185201 value = { nodeStats . ioreads + nodeStats . iowrites }
186202 title = { "" }
@@ -189,8 +205,10 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
189205 fontSizeValue = { "14px" }
190206 fontColorValue = { configuration . colors . fonts . metric100 }
191207 />
208+ }
192209 </ td >
193210 < td style = { { "width" :"9%" , "text-align" :"center" , "border-top" : "1pt solid " + configuration . colors . lines . separator100 } } >
211+ { nodeStats . role !== "-" &&
194212 < CompMetric01
195213 value = { ( nodeStats . netin + nodeStats . netout ) }
196214 title = { "" }
@@ -199,10 +217,11 @@ const ComponentObject = memo(({ sessionId, clusterId, nodeStats }) => {
199217 fontSizeValue = { "14px" }
200218 fontColorValue = { configuration . colors . fonts . metric100 }
201219 />
220+ }
202221 </ td >
203222 </ tr >
204223
205- { detailsVisible === true &&
224+ { ( detailsVisible === true && nodeStats . role !== "-" ) &&
206225 < tr >
207226 < td > </ td >
208227 < td colspan = "11" style = { { "width" :"10%" , "padding-left" : "1em" } } >
0 commit comments