UI: show button for dynamic Scaling for VM in case of KVM hypervisor, since it is supported now

This commit is contained in:
Harikrishna Patnala 2021-11-22 13:43:03 +05:30
parent d8004871e5
commit 6eb7bb0fe3
1 changed files with 1 additions and 1 deletions

View File

@ -301,7 +301,7 @@ export default {
label: 'label.scale.vm',
docHelp: 'adminguide/virtual_machines.html#how-to-dynamically-scale-cpu-and-ram',
dataView: true,
show: (record) => { return ['Stopped'].includes(record.state) || (['Running'].includes(record.state) && record.hypervisor !== 'KVM' && record.hypervisor !== 'LXC') },
show: (record) => { return ['Stopped'].includes(record.state) || (['Running'].includes(record.state) && record.hypervisor !== 'LXC') },
disabled: (record) => { return record.state === 'Running' && !record.isdynamicallyscalable },
popup: true,
component: () => import('@/views/compute/ScaleVM.vue')