mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
only request VILLASnode status if not managed externally
This commit is contained in:
parent
5e30e17d89
commit
747f47b2af
1 changed files with 2 additions and 2 deletions
|
@ -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',
|
||||
|
|
Loading…
Add table
Reference in a new issue