infocard: show haenabled and dynamic scalable when VM actually is

Fixes #248

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
Rohit Yadav 2020-03-23 22:38:30 +05:30
parent a08a7d37c5
commit f7575853f9

View File

@ -48,10 +48,10 @@
<a-tag v-if="resource.hypervisor"> <a-tag v-if="resource.hypervisor">
{{ resource.hypervisor }} {{ resource.hypervisor }}
</a-tag> </a-tag>
<a-tag v-if="'haenable' in resource" :color="resource.haenable ? 'green': 'red'"> <a-tag v-if="resource.haenable">
{{ $t('haenable') }} {{ $t('haenable') }}
</a-tag> </a-tag>
<a-tag v-if="'isdynamicallyscalable' in resource" :color="resource.isdynamicallyscalable ? 'green': 'red'"> <a-tag v-if="resource.isdynamicallyscalable">
{{ $t('isdynamicallyscalable') }} {{ $t('isdynamicallyscalable') }}
</a-tag> </a-tag>
<a-tag v-if="resource.scope"> <a-tag v-if="resource.scope">