1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-29 05:10:05 +02:00

feat(ui-toolkit): consistent health statuses

This commit is contained in:
Sérgio Ramos 2017-08-30 12:12:08 +01:00
parent e986dcdc12
commit 441d4118d7

View File

@ -58,7 +58,7 @@ const GraphNodeInfo = ({ data, pos }) => {
))
);
const healthy = instancesHealthy ? <HealthyIcon /> : <UnhealthyIcon />;
const healthy = <HealthyIcon healthy={instancesHealthy.total === instancesHealthy.healthy} />;
return (
<g transform={`translate(${x}, ${y})`}>