mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
CLOUDSTACK-228: cloudstack UI - host page - hide Force Reconnect option when host state is Disconnected.
This commit is contained in:
parent
65a526fa54
commit
ad280bd174
@ -9749,7 +9749,9 @@
|
||||
if (jsonObj.resourcestate == "Enabled") {
|
||||
allowedActions.push("edit");
|
||||
allowedActions.push("enableMaintenanceMode");
|
||||
allowedActions.push("forceReconnect");
|
||||
|
||||
if(jsonObj.state != "Disconnected")
|
||||
allowedActions.push("forceReconnect");
|
||||
}
|
||||
else if (jsonObj.resourcestate == "ErrorInMaintenance") {
|
||||
allowedActions.push("edit");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user