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 <abhishek.mrt22@gmail.com>
This commit is contained in:
Abhishek Kumar 2025-07-30 10:56:33 +05:30 committed by GitHub
parent 4b1a605e59
commit fd4223295a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -738,7 +738,7 @@
{{ $t('label.isadvanced') }}
<a-switch v-model:checked="showDetails" style="margin-left: 10px"/>
</span>
<div style="margin-top: 15px" v-show="showDetails">
<div style="margin-top: 15px" v-if="showDetails">
<a-form-item :label="$t('label.sshkeypairs')">
<ssh-key-pair-selection
:items="options.sshKeyPairs"