From a1a70d4a3c6a8314dd2ad35344d440e4ba8e86e8 Mon Sep 17 00:00:00 2001 From: Evan Steinkerchner Date: Tue, 1 Mar 2022 20:55:45 -0500 Subject: Added Portainer custom service --- src/components/services/Portainer.vue | 122 ++++++++++++++++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 src/components/services/Portainer.vue (limited to 'src/components/services/Portainer.vue') diff --git a/src/components/services/Portainer.vue b/src/components/services/Portainer.vue new file mode 100644 index 0000000..0af30eb --- /dev/null +++ b/src/components/services/Portainer.vue @@ -0,0 +1,122 @@ + + + + + -- cgit v1.2.3 From edd2c9ce2dc2d6aaf8e125434ed386de7056ab1d Mon Sep 17 00:00:00 2001 From: Evan Steinkerchner Date: Tue, 1 Mar 2022 21:05:14 -0500 Subject: Removed number fudging used for testing --- src/components/services/Portainer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/components/services/Portainer.vue') diff --git a/src/components/services/Portainer.vue b/src/components/services/Portainer.vue index 0af30eb..176d92e 100644 --- a/src/components/services/Portainer.vue +++ b/src/components/services/Portainer.vue @@ -48,7 +48,7 @@ export default { } return this.containers.filter((container) => { return container.State.toLowerCase() === "dead"; - }).length || 1; + }).length; }, misc: function () { if (!this.containers) { -- cgit v1.2.3