diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-06-07 15:41:45 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-06-07 15:41:45 +0300 |
| commit | 713285457fedcf1b0f4f6f75db399d2dd042e802 (patch) | |
| tree | 024b46384aaa541e7d22ce2d990dcac941afb36e /web/html | |
| parent | e1ef746cab8f54be8ff23673ebb18d951ffa32e3 (diff) | |
{fix} outbound - wireguard
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/outbound.html | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 0718d4ed..20adb535 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -72,21 +72,9 @@ </template> <a-input v-model.trim="outbound.settings.address"></a-input> </a-form-item> - <a-form-item> - <template slot="label"> - <a-tooltip> - <template slot="title"> - <span>{{ i18n "reset" }}</span> - </template> - {{ i18n "pages.xray.wireguard.secretKey" }} - <a-icon type="sync" @click="[outbound.settings.pubKey, outbound.settings.secretKey] = Object.values(Wireguard.generateKeypair())"></a-icon> - </a-tooltip> - </template> + <a-form-item label='{{ i18n "pages.xray.wireguard.secretKey" }}'> <a-input v-model.trim="outbound.settings.secretKey"></a-input> </a-form-item> - <a-form-item label='{{ i18n "pages.xray.wireguard.publicKey" }}'> - <a-input disabled v-model="outbound.settings.pubKey"></a-input> - </a-form-item> <a-form-item label='{{ i18n "pages.xray.wireguard.domainStrategy" }}'> <a-select v-model="outbound.settings.domainStrategy" :dropdown-class-name="themeSwitcher.currentTheme"> <a-select-option v-for="wds in ['', ...WireguardDomainStrategy]" :value="wds">[[ wds ]]</a-select-option> |
