mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Use replica count for swarm status
Co-Authored-By: Raphaël Catarino <raphcatarino@gmail.com>
This commit is contained in:
parent
f74275293a
commit
ae7a77d247
3 changed files with 47 additions and 24 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