fix(ui-toolkit): proper use of HealthyIcon healthy prop

This commit is contained in:
Sérgio Ramos 2017-08-30 12:24:43 +01:00
parent 90975b30e3
commit d30988f652

View File

@ -60,7 +60,13 @@ const GraphNodeInfo = ({ data, pos }) => {
const healthy = ( const healthy = (
<HealthyIcon <HealthyIcon
healthy={instancesHealthy.total === instancesHealthy.healthy} healthy={
instancesHealthy.total === instancesHealthy.healthy ? (
'HEALTHY'
) : (
'UNHEALTHY'
)
}
/> />
); );