Skip to content

Commit c08592c

Browse files
authored
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>
1 parent 9293f5b commit c08592c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/src/views/compute/EditVM.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@
5959
v-decorator="['isdynamicallyscalable']"
6060
:disabled="!canDynamicScalingEnabled()" />
6161
</a-form-item>
62-
<a-form-item>
62+
<a-form-item v-if="serviceOffering ? serviceOffering.offerha : false">
6363
<tooltip-label slot="label" :title="$t('label.haenable')" :tooltip="apiParams.haenable.description"/>
6464
<a-switch
6565
:default-checked="resource.haenable"

0 commit comments

Comments
 (0)