diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-09-16 11:37:02 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-09-16 11:37:02 +0300 |
| commit | ad78cec7c79c51f16940f54baeb35cbefd18d939 (patch) | |
| tree | f78607b56981ecbf05242d033db198dd27559213 /web/html/xui | |
| parent | 176ab5f48e883ab65c124913acb949fe7f172429 (diff) | |
fix mistake - security only for vmess
Diffstat (limited to 'web/html/xui')
| -rw-r--r-- | web/html/xui/form/outbound.html | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 84882498..abc96bb4 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -187,11 +187,15 @@ <a-form-item label='ID'> <a-input v-model.trim="outbound.settings.id"></a-input> </a-form-item> - <a-form-item label='Security'> - <a-select v-model="outbound.settings.security" :dropdown-class-name="themeSwitcher.currentTheme"> - <a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option> - </a-select> - </a-form-item> + + <!-- vmess settings --> + <template v-if="outbound.protocol === Protocols.VMess"> + <a-form-item label='Security'> + <a-select v-model="outbound.settings.security" :dropdown-class-name="themeSwitcher.currentTheme"> + <a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option> + </a-select> + </a-form-item> + </template> <!-- vless settings --> <template v-if="outbound.canEnableTlsFlow()"> |
