CA-241767: [VMSS] Scheduled snapshots not getting listed in XC

Signed-Off-by: Sharath Babu <Sharath.Babu@citrix.com>
This commit is contained in:
Sharath Babu 2017-01-31 10:01:33 +05:30
parent 786b1cabcf
commit 9da9aabce7

View File

@ -137,7 +137,7 @@ namespace XenAdmin.TabPages
VM_BatchCollectionChanged);
m_VM.PropertyChanged += snapshot_PropertyChanged;
//Version setup
toolStripMenuItemScheduledSnapshots.Available = toolStripSeparatorView.Available = Registry.VMPRFeatureEnabled && !Helpers.ClearwaterOrGreater(VM.Connection);
toolStripMenuItemScheduledSnapshots.Available = toolStripSeparatorView.Available = (Registry.VMPRFeatureEnabled && !Helpers.ClearwaterOrGreater(VM.Connection)) || !Helpers.FeatureForbidden(VM.Connection, Host.RestrictVMSnapshotSchedule);
if (VM.SnapshotView != SnapshotsView.ListView)
TreeViewChecked();
else