mirror of
https://github.com/yldio/copilot.git
synced 2024-11-28 06:00:06 +02:00
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 = (
|
const healthy = (
|
||||||
<HealthyIcon
|
<HealthyIcon
|
||||||
healthy={instancesHealthy.total === instancesHealthy.healthy}
|
healthy={
|
||||||
|
instancesHealthy.total === instancesHealthy.healthy ? (
|
||||||
|
'HEALTHY'
|
||||||
|
) : (
|
||||||
|
'UNHEALTHY'
|
||||||
|
)
|
||||||
|
}
|
||||||
/>
|
/>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user