This is an automated email from the ASF dual-hosted git repository.
rohit pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cloudstack-primate.git
The following commit(s) were added to refs/heads/master by this push:
new bbcabf3 infocard: show haenabled and dynamic scalable when VM
actually is
bbcabf3 is described below
commit bbcabf3b1ca3473e7f6b6925ce529a4cd4253164
Author: Rohit Yadav <[email protected]>
AuthorDate: Mon Mar 23 22:38:30 2020 +0530
infocard: show haenabled and dynamic scalable when VM actually is
Fixes #248
Signed-off-by: Rohit Yadav <[email protected]>
---
src/components/view/InfoCard.vue | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/components/view/InfoCard.vue b/src/components/view/InfoCard.vue
index 9b92779..35a609a 100644
--- a/src/components/view/InfoCard.vue
+++ b/src/components/view/InfoCard.vue
@@ -48,10 +48,10 @@
<a-tag v-if="resource.hypervisor">
{{ resource.hypervisor }}
</a-tag>
- <a-tag v-if="'haenable' in resource" :color="resource.haenable ?
'green': 'red'">
+ <a-tag v-if="resource.haenable">
{{ $t('haenable') }}
</a-tag>
- <a-tag v-if="'isdynamicallyscalable' in resource"
:color="resource.isdynamicallyscalable ? 'green': 'red'">
+ <a-tag v-if="resource.isdynamicallyscalable">
{{ $t('isdynamicallyscalable') }}
</a-tag>
<a-tag v-if="resource.scope">