fix portainer offline containers count

This commit is contained in:
Ben Phelps committed 2022-08-26 22:33:54 +03:00
1 parent 6df52660f0
commit 7647d8eb4e
3 files changed
+11 -15

No files matched your search

@@ -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" />;