mirror of
https://git.rwth-aachen.de/acs/public/villas/web/
synced 2025-03-09 00:00:01 +01:00
reinsert IC status refresh on ICs page
This commit is contained in:
parent
1c14087822
commit
19d347040b
1 changed files with 14 additions and 0 deletions
|
@ -134,6 +134,20 @@ 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 && !ic.managedexternally) {
|
||||
AppDispatcher.dispatch({
|
||||
type: 'ics/get-status',
|
||||
url: ic.apiurl,
|
||||
token: this.state.sessionToken,
|
||||
ic: ic
|
||||
});
|
||||
}
|
||||
})
|
||||
|
||||
}
|
||||
|
||||
closeNewModal(data) {
|
||||
|
|
Loading…
Add table
Reference in a new issue