From a7cbcc7700990dbdfbfe61374e14a700ff0d4714 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Rapha=C3=ABl=20Catarino?= <raphcatarino@gmail.com>
Date: Sat, 19 Mar 2022 12:59:05 +0100
Subject: fix if endpoint not up

---
 src/components/services/Portainer.vue | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

(limited to 'src/components/services/Portainer.vue')

diff --git a/src/components/services/Portainer.vue b/src/components/services/Portainer.vue
index c7e9962..2490959 100644
--- a/src/components/services/Portainer.vue
+++ b/src/components/services/Portainer.vue
@@ -90,7 +90,9 @@ export default {
           }
         );
 
-        containers = containers.concat(endpointContainers);
+        if(endpointContainers){
+          containers = containers.concat(endpointContainers);
+        }
       }
 
       this.containers = containers;
-- 
cgit v1.2.3

