mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-03 04:12:31 +01:00
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…
x
Reference in New Issue
Block a user