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:
authordanilshishkevich <danilshishkevich@gmail.com>2025-03-25 18:13:17 +0300
committerdanilshishkevich <danilshishkevich@gmail.com>2025-03-25 18:13:17 +0300
commit19f79386172118630d1a36e4c7b031504e081077 (patch)
tree5935334533d03dbeceab5b46fd8cb5f6f29d9036 /web/html/xui/settings/xray/dns.html
parentfe791b6e998472b2aca85fba386071ffc880897e (diff)
chore: giving keys for each `a-collapse-panel`
Diffstat (limited to 'web/html/xui/settings/xray/dns.html')
-rw-r--r--web/html/xui/settings/xray/dns.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/xui/settings/xray/dns.html b/web/html/xui/settings/xray/dns.html
index 65735ff9..696f73e1 100644
--- a/web/html/xui/settings/xray/dns.html
+++ b/web/html/xui/settings/xray/dns.html
@@ -1,6 +1,6 @@
{{define "settings/xray/dns"}}
-<a-collapse>
- <a-collapse-panel header='{{ i18n "pages.xray.generalConfigs"}}'>
+<a-collapse default-active-key="1">
+ <a-collapse-panel key="1" header='{{ i18n "pages.xray.generalConfigs"}}'>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.xray.dns.enable" }}</template>
<template #description>{{ i18n "pages.xray.dns.enableDesc" }}</template>
@@ -59,7 +59,7 @@
</template>
</a-collapse-panel>
<template v-if="enableDNS">
- <a-collapse-panel header='DNS'>
+ <a-collapse-panel key="2" header='DNS'>
<template v-if="dnsServers.length > 0">
<a-space direction="vertical" size="middle">
<a-button type="primary" icon="plus" @click="addDNSServer()">
@@ -107,7 +107,7 @@
</a-empty>
</template>
</a-collapse-panel>
- <a-collapse-panel header='Fake DNS'>
+ <a-collapse-panel key="3" header='Fake DNS'>
<template v-if="fakeDns && fakeDns.length > 0">
<a-space direction="vertical" size="middle">
<a-button type="primary" icon="plus" @click="addFakedns()">{{ i18n "pages.xray.fakedns.add"