fix(cp-frontend): fallback instance health

This commit is contained in:
Sérgio Ramos 2017-08-23 14:18:07 +01:00
parent 77acb731ac
commit 5fbb94f54d

View File

@ -89,7 +89,7 @@ const InstanceCard = ({
{} {}
); );
const label = instance.healthy.toLowerCase(); const label = (instance.healthy || 'UNKNOWN').toLowerCase();
const icon = <HealthyIcon healthy={instance.healthy} />; const icon = <HealthyIcon healthy={instance.healthy} />;
const handleHealthMouseOver = (evt) => { const handleHealthMouseOver = (evt) => {