Fix: show mem / cpu stats for k8s partial health status (#2378)

pull/2376/head
shamoon 1 year ago committed by GitHub
parent 6b35443100
commit fb9ebf18ba
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -21,7 +21,7 @@ export default function Component({ service }) {
return <Container service={service} error={statsError ?? statusError} />;
}
if (statusData && statusData.status !== "running") {
if (statusData && !(statusData.status.includes("running") || statusData.status.includes("partial"))) {
return (
<Container>
<Block label={t("widget.status")} value={t("docker.offline")} />

Loading…
Cancel
Save