mirror of https://github.com/apache/cloudstack.git
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:
parent
9293f5bd27
commit
c08592cad8
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Reference in New Issue