File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4646 v-else />
4747 </div >
4848 <div slot =" memused" slot-scope =" record" >
49- <span v-if =" record.memoryused | byteToGigabyte " >
49+ <span v-if =" record.memoryused" >
5050 {{ record.memoryused | byteToGigabyte }} GB
5151 </span >
5252 </div >
@@ -197,7 +197,9 @@ export default {
197197 var migrateParams = this .selectedHost .id === - 1 ? { autoselect: true , virtualmachineid: this .resource .id }
198198 : { hostid: this .selectedHost .id , virtualmachineid: this .resource .id }
199199 api (migrateApi, migrateParams).then (response => {
200- const jobid = this .selectedHost .requiresStorageMotion ? response .migratevirtualmachinewithvolumeresponse .jobid : response .migratevirtualmachineresponse .jobid
200+ const jobid = isUserVm
201+ ? this .selectedHost .requiresStorageMotion ? response .migratevirtualmachinewithvolumeresponse .jobid : response .migratevirtualmachineresponse .jobid
202+ : response .migratesystemvmresponse .jobid
201203 this .$pollJob ({
202204 jobId: jobid,
203205 title: ` ${ this .$t (' label.migrating' )} ${ this .resource .name } ` ,
You can’t perform that action at this time.
0 commit comments