ui: update vm haenable only for supported vms (#5847)

For VMs which have service offering that does not allow HA, haenable option will be not shown in the UpdateVM UI form.

Fixes #5743

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2022-01-11 14:55:11 +05:30 committed by GitHub
parent 9293f5bd27
commit c08592cad8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@
v-decorator="['isdynamicallyscalable']"
:disabled="!canDynamicScalingEnabled()" />
</a-form-item>
<a-form-item>
<a-form-item v-if="serviceOffering ? serviceOffering.offerha : false">
<tooltip-label slot="label" :title="$t('label.haenable')" :tooltip="apiParams.haenable.description"/>
<a-switch
:default-checked="resource.haenable"