1
0
mirror of https://github.com/yldio/copilot.git synced 2024-12-01 07:30:07 +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 ( return (
<g transform={`translate(${x}, ${y})`}> <g transform={`translate(${x}, ${y})`}>