Skip to content

Commit fd42232

Browse files
authored
ui: fix advance setting behaviour in autoscale form (#11306)
Fixes #11269 The current dysfunctional behaviour was introduced in #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 <[email protected]>
1 parent 4b1a605 commit fd42232

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)