mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 23:38:46 +00:00
Merge pull request #994 from benphelps/fix-970
Fix: improve swarm status for replicated services & prefer stats for local containers
This commit is contained in:
commit
a25606cfe9
4 changed files with 68 additions and 27 deletions
|
@ -22,7 +22,7 @@ export default function Component({ service }) {
|
|||
return <Container error={finalError} />;
|
||||
}
|
||||
|
||||
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