Skip to content

Commit b09ff40

Browse files
committed
ui: fix advance setting behaviour in autoscale form
Fixes apache#11269 The current dysfunctional behaviour was introduced in apache#6571. In advanced settings interface for ssh keypairs, userdata, affinity group, etc are show but the toggle to show/hide them was not working correctly. Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
1 parent ca6d2dc commit b09ff40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ui/src/views/compute/CreateAutoScaleVmGroup.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@
738738
{{ $t('label.isadvanced') }}
739739
<a-switch v-model:checked="showDetails" style="margin-left: 10px"/>
740740
</span>
741-
<div style="margin-top: 15px" v-show="showDetails">
741+
<div style="margin-top: 15px" v-if="showDetails">
742742
<a-form-item :label="$t('label.sshkeypairs')">
743743
<ssh-key-pair-selection
744744
:items="options.sshKeyPairs"

0 commit comments

Comments
 (0)