Merge pull request #1416 from geosharath/VMSS-B2B

CA-241767: [VMSS] Scheduled snapshots not getting listed in XC
This commit is contained in:
Mihaela Stoica 2017-01-31 09:35:02 +00:00 committed by GitHub
commit 25dc1c5201

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