Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-08 22:17:48 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-08 22:17:48 +0300
commitc7ba6ae909c52c1acd3107e032142beffbb53cf0 (patch)
treef538f043f69de3784f6000e5bb89606a845426ff /web/html/form/protocol/vless.html
parent3edf79e589ae765562f7360b589029ec8f198bc8 (diff)
add clear button
Diffstat (limited to 'web/html/form/protocol/vless.html')
-rw-r--r--web/html/form/protocol/vless.html5
1 files changed, 2 insertions, 3 deletions
diff --git a/web/html/form/protocol/vless.html b/web/html/form/protocol/vless.html
index 69e74285..baa5a285 100644
--- a/web/html/form/protocol/vless.html
+++ b/web/html/form/protocol/vless.html
@@ -22,7 +22,6 @@
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label="Authentication">
<a-select v-model="inbound.settings.selectedAuth" @change="getNewVlessEnc" :dropdown-class-name="themeSwitcher.currentTheme">
- <a-select-option :value="undefined">None</a-select-option>
<a-select-option value="X25519, not Post-Quantum">X25519 (not Post-Quantum)</a-select-option>
<a-select-option value="ML-KEM-768, Post-Quantum">ML-KEM-768 (Post-Quantum)</a-select-option>
</a-select>
@@ -36,12 +35,12 @@
<a-form-item label=" ">
<a-space>
<a-button type="primary" icon="import" @click="getNewVlessEnc">Get New keys</a-button>
- <a-button danger @click="clearKeys">Clear</a-button>
+ <a-button danger @click="clearVlessEnc">Clear</a-button>
</a-space>
</a-form-item>
</a-form>
</template>
-<template v-if="inbound.isTcp && !inbound.settings.encryption">
+<template v-if="inbound.isTcp && !inbound.settings.selectedAuth">
<a-form :colon="false" :label-col="{ md: {span:8} }" :wrapper-col="{ md: {span:14} }">
<a-form-item label="Fallbacks">
<a-button icon="plus" type="primary" size="small" @click="inbound.settings.addFallback()"></a-button>