Skip to content

Commit 136ee82

Browse files
gruckbitGustavo Rück
andauthored
UI support for the scaleSystemVm API (#13321)
Co-authored-by: Gustavo Rück <gustavo.silveira@scclouds.com.br>
1 parent 4875fde commit 136ee82

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎ui/src/config/section/infra/systemVms.js‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,14 +101,15 @@ export default {
101101
label: 'label.change.service.offering',
102102
message: 'message.confirm.scale.up.system.vm',
103103
dataView: true,
104-
show: (record) => { return record.state === 'Running' && record.hypervisor === 'VMware' || record.state === 'Stopped' },
104+
show: (record) => { return record.state === 'Running' && (record.hypervisor === 'VMware' || record.hypervisor === 'KVM') || record.state === 'Stopped' },
105105
args: ['serviceofferingid'],
106106
mapping: {
107107
serviceofferingid: {
108108
api: 'listServiceOfferings',
109109
params: (record) => { return { virtualmachineid: record.id, issystem: true, systemvmtype: record.systemvmtype } }
110110
}
111-
}
111+
},
112+
popup: true
112113
},
113114
{
114115
api: 'migrateSystemVm',

0 commit comments

Comments
 (0)