mirror of
https://github.com/apache/cloudstack.git
synced 2025-10-26 08:42:29 +01:00
ui: Show memory allocated percentage when migrating vm (#4784)
This commit is contained in:
parent
8510344129
commit
9454edd0f3
@ -47,6 +47,9 @@
|
|||||||
<div slot="memused" slot-scope="record">
|
<div slot="memused" slot-scope="record">
|
||||||
{{ record.memoryused | byteToGigabyte }} GB
|
{{ record.memoryused | byteToGigabyte }} GB
|
||||||
</div>
|
</div>
|
||||||
|
<div slot="memoryallocatedpercentage" slot-scope="record">
|
||||||
|
{{ record.memoryallocatedpercentage }}
|
||||||
|
</div>
|
||||||
<template slot="select" slot-scope="record">
|
<template slot="select" slot-scope="record">
|
||||||
<a-radio
|
<a-radio
|
||||||
class="host-item__radio"
|
class="host-item__radio"
|
||||||
@ -113,6 +116,10 @@ export default {
|
|||||||
title: this.$t('label.cpuused'),
|
title: this.$t('label.cpuused'),
|
||||||
dataIndex: 'cpuused'
|
dataIndex: 'cpuused'
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
title: this.$t('label.memoryallocated'),
|
||||||
|
scopedSlots: { customRender: 'memoryallocatedpercentage' }
|
||||||
|
},
|
||||||
{
|
{
|
||||||
title: this.$t('label.memused'),
|
title: this.$t('label.memused'),
|
||||||
scopedSlots: { customRender: 'memused' }
|
scopedSlots: { customRender: 'memused' }
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user