mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui bug fix: scalevm is disabled when vm is Stopped (#5233)
* ui: scalevm is disabled even if vm is Stopped * ui: update #5233
This commit is contained in:
parent
b065e79ae3
commit
7678bc1293
@ -299,7 +299,7 @@ export default {
|
||||
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') },
|
||||
disabled: (record) => { return !record.isdynamicallyscalable },
|
||||
disabled: (record) => { return record.state === 'Running' && !record.isdynamicallyscalable },
|
||||
popup: true,
|
||||
component: () => import('@/views/compute/ScaleVM.vue')
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user