mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Feature #3782: Remove disk-snapshot action for volatile disks
This commit is contained in:
parent
23f84d749f
commit
95de9ad566
@ -179,7 +179,7 @@ define(function(require) {
|
||||
}
|
||||
|
||||
if (Config.isTabActionEnabled("vms-tab", "VM.disk_snapshot_create")) {
|
||||
if (StateActions.enabledStateAction("VM.disk_snapshot_create", that.element.STATE, that.element.LCM_STATE) && !disk.CONTEXT) {
|
||||
if (StateActions.enabledStateAction("VM.disk_snapshot_create", that.element.STATE, that.element.LCM_STATE) && disk.IMAGE_ID) {
|
||||
actions += ('<a href="VM.disk_snapshot_create" class="disk_snapshot_create nowrap" >\
|
||||
<i class="fa fa-camera fa-fw"></i>' + Locale.tr("Snapshot") +
|
||||
'</a>');
|
||||
|
Loading…
x
Reference in New Issue
Block a user