From 747f47b2af5abe8c2b73e191207b1891e542a858 Mon Sep 17 00:00:00 2001 From: Sonja Happ Date: Thu, 28 Jan 2021 14:28:41 +0100 Subject: [PATCH] only request VILLASnode status if not managed externally --- src/ic/ics.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ic/ics.js b/src/ic/ics.js index 4c80853..fdc1a6f 100644 --- a/src/ic/ics.js +++ b/src/ic/ics.js @@ -115,8 +115,8 @@ class InfrastructureComponents extends Component { // get status of VILLASnode and VILLASrelay ICs this.state.ics.forEach(ic => { - if ((ic.type === "villas-node" || ic.type === "villas-relay") - && ic.apiurl !== '' && ic.apiurl !== undefined && ic.apiurl !== null) { + if ((ic.type === "villas-node" || ic.type === "villas-relay" ) + && ic.apiurl !== '' && ic.apiurl !== undefined && ic.apiurl !== null && !ic.managedexternally) { let splitWebsocketURL = ic.websocketurl.split("/"); AppDispatcher.dispatch({ type: 'ic-status/get-status',