fix(ui-toolkit): proper use of HealthyIcon healthy prop
This commit is contained in:
parent
90975b30e3
commit
d30988f652
@ -60,7 +60,13 @@ const GraphNodeInfo = ({ data, pos }) => {
|
||||
|
||||
const healthy = (
|
||||
<HealthyIcon
|
||||
healthy={instancesHealthy.total === instancesHealthy.healthy}
|
||||
healthy={
|
||||
instancesHealthy.total === instancesHealthy.healthy ? (
|
||||
'HEALTHY'
|
||||
) : (
|
||||
'UNHEALTHY'
|
||||
)
|
||||
}
|
||||
/>
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user