mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
fix portainer offline containers count
This commit is contained in:
parent
6df52660f0
commit
7647d8eb4e
3 changed files with 11 additions and 15 deletions
|
@ -25,7 +25,7 @@ export default function Portainer({ service }) {
|
|||
return await res.json();
|
||||
};
|
||||
|
||||
const { data: containersData, error: containersError } = useSWR(buildApiUrl(`docker/containers/json`), fetcher);
|
||||
const { data: containersData, error: containersError } = useSWR(buildApiUrl(`docker/containers/json?all=1`), fetcher);
|
||||
|
||||
if (containersError) {
|
||||
return <Widget error="Portainer API Error" />;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue