mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 14:18:47 +00:00
Fix: show mem / cpu stats for k8s partial health status (#2378)
This commit is contained in:
parent
6b35443100
commit
fb9ebf18ba
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue