mirror of https://github.com/apache/cloudstack.git
bug 13466: volume page - only show "take snapshot/recurring snapshot" action when volume state is Ready. Hide them otherwise.
This commit is contained in:
parent
93a67de978
commit
6d96648b10
|
|
@ -1149,7 +1149,7 @@
|
|||
return [];
|
||||
}
|
||||
|
||||
if(jsonObj.hypervisor != "Ovm") {
|
||||
if(jsonObj.hypervisor != "Ovm" && jsonObj.state == "Ready") {
|
||||
allowedActions.push("takeSnapshot");
|
||||
allowedActions.push("recurringSnapshot");
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue