mirror of https://github.com/apache/cloudstack.git
UI: show button for dynamic Scaling for VM in case of KVM hypervisor, since it is supported now
This commit is contained in:
parent
d8004871e5
commit
6eb7bb0fe3
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Reference in New Issue