mirror of
https://github.com/karl0ss/homepage.git
synced 2025-04-29 12:03:41 +01:00
Fix: show mem / cpu stats for k8s partial health status (#2378)
This commit is contained in:
parent
6b35443100
commit
fb9ebf18ba
@ -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…
x
Reference in New Issue
Block a user