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:
shamoon
2023-02-14 10:41:49 -08:00
committed by GitHub
4 changed files with 68 additions and 27 deletions

View File

@@ -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")} />