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/panel/security.html
parentfe791b6e998472b2aca85fba386071ffc880897e (diff)
chore: giving keys for each `a-collapse-panel`
Diffstat (limited to 'web/html/xui/settings/panel/security.html')
-rw-r--r--web/html/xui/settings/panel/security.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/html/xui/settings/panel/security.html b/web/html/xui/settings/panel/security.html
index 89ff0d96..7b53a959 100644
--- a/web/html/xui/settings/panel/security.html
+++ b/web/html/xui/settings/panel/security.html
@@ -1,6 +1,6 @@
{{define "settings/panel/security"}}
-<a-collapse>
- <a-collapse-panel header='{{ i18n "pages.settings.security.admin"}}'>
+<a-collapse default-active-key="1">
+ <a-collapse-panel key="1" header='{{ i18n "pages.settings.security.admin"}}'>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.settings.oldUsername"}}</template>
<template #control>
@@ -31,7 +31,7 @@
</a-space>
</a-list-item>
</a-collapse-panel>
- <a-collapse-panel header='{{ i18n "pages.settings.security.secret"}}'>
+ <a-collapse-panel key="2" header='{{ i18n "pages.settings.security.secret"}}'>
<a-setting-list-item paddings="small">
<template #title>{{ i18n "pages.settings.security.loginSecurity" }}</template>
<template #description>{{ i18n "pages.settings.security.loginSecurityDesc" }}</template>