mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
feat(ui-toolkit): consistent health statuses
This commit is contained in:
parent
e986dcdc12
commit
441d4118d7
@ -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})`}>
|
||||
|
Loading…
Reference in New Issue
Block a user