1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/web/ synced 2025-03-09 00:00:01 +01:00

enable IC dialog window for any managed externally IC

This commit is contained in:
Sonja Happ 2021-01-28 14:31:53 +01:00
parent 747f47b2af
commit ea90b34520

View file

@ -339,7 +339,7 @@ class InfrastructureComponents extends Component {
modifyNameColumn(name){
let ic = this.state.ics.find(ic => ic.name === name);
if(ic.type === "villas-node" || ic.type === "villas-relay"){
if(ic.type === "villas-node" || ic.type === "villas-relay" || ic.managedexternally){
return <Button variant="link" onClick={() => this.openICStatus(ic)}>{name}</Button> }
else{
return <span>{name}</span>