This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch 4.15
in repository https://gitbox.apache.org/repos/asf/cloudstack.git
The following commit(s) were added to refs/heads/4.15 by this push:
new 9454edd ui: Show memory allocated percentage when migrating vm (#4784)
9454edd is described below
commit 9454edd0f316acee13f3531eebee404a9c726d4e
Author: davidjumani <[email protected]>
AuthorDate: Thu Mar 11 13:06:11 2021 +0530
ui: Show memory allocated percentage when migrating vm (#4784)
---
ui/src/views/compute/MigrateWizard.vue | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/ui/src/views/compute/MigrateWizard.vue
b/ui/src/views/compute/MigrateWizard.vue
index 46346e9..9f050cd 100644
--- a/ui/src/views/compute/MigrateWizard.vue
+++ b/ui/src/views/compute/MigrateWizard.vue
@@ -47,6 +47,9 @@
<div slot="memused" slot-scope="record">
{{ record.memoryused | byteToGigabyte }} GB
</div>
+ <div slot="memoryallocatedpercentage" slot-scope="record">
+ {{ record.memoryallocatedpercentage }}
+ </div>
<template slot="select" slot-scope="record">
<a-radio
class="host-item__radio"
@@ -114,6 +117,10 @@ export default {
dataIndex: 'cpuused'
},
{
+ title: this.$t('label.memoryallocated'),
+ scopedSlots: { customRender: 'memoryallocatedpercentage' }
+ },
+ {
title: this.$t('label.memused'),
scopedSlots: { customRender: 'memused' }
},