mirror of https://github.com/apache/cloudstack.git
Merge 0c93c50944 into b7d4df0a11
This commit is contained in:
commit
666a13e569
|
|
@ -100,14 +100,15 @@ export default {
|
|||
label: 'label.change.service.offering',
|
||||
message: 'message.confirm.scale.up.system.vm',
|
||||
dataView: true,
|
||||
show: (record) => { return record.state === 'Running' && record.hypervisor === 'VMware' || record.state === 'Stopped' },
|
||||
show: (record) => { return record.state === 'Running' && (record.hypervisor === 'VMware' || record.hypervisor === 'KVM') || record.state === 'Stopped' },
|
||||
args: ['serviceofferingid'],
|
||||
mapping: {
|
||||
serviceofferingid: {
|
||||
api: 'listServiceOfferings',
|
||||
params: (record) => { return { virtualmachineid: record.id, issystem: true, systemvmtype: record.systemvmtype } }
|
||||
}
|
||||
}
|
||||
},
|
||||
popup: true
|
||||
},
|
||||
{
|
||||
api: 'migrateSystemVm',
|
||||
|
|
|
|||
Loading…
Reference in New Issue