diff options
| author | Shishkevich D. <135337715+shishkevichd@users.noreply.github.com> | 2025-03-08 18:41:27 +0300 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-03-08 18:41:27 +0300 |
| commit | 697cd5e6d9d8cdacb1cf36fb485667e2409eba62 (patch) | |
| tree | f0fb34bc3daeb022e0bd0040128fb6e61fa153cd /web/html/xui/common_sider.html | |
| parent | c6d27a446355e7278fedd98334a314994bb70153 (diff) | |
Code refactoring (#2739)
* refactor: switching to the use of typed props
* refactor: `password-input` -> `a-password-input`
* fix: qr modal copy error
Diffstat (limited to 'web/html/xui/common_sider.html')
| -rw-r--r-- | web/html/xui/common_sider.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/common_sider.html b/web/html/xui/common_sider.html index df659489..1d5fe075 100644 --- a/web/html/xui/common_sider.html +++ b/web/html/xui/common_sider.html @@ -34,7 +34,7 @@ {{define "commonSider"}} <a-layout-sider :theme="themeSwitcher.currentTheme" id="sider" collapsible breakpoint="md"> - <theme-switch></theme-switch> + <a-theme-switch></a-theme-switch> <a-menu :theme="themeSwitcher.currentTheme" mode="inline" :selected-keys="['{{ .request_uri }}']" @click="({key}) => key.startsWith('http') ? window.open(key) : location.href = key"> {{template "menuItems" .}} </a-menu> @@ -43,7 +43,7 @@ <div class="drawer-handle" @click="siderDrawer.change()" slot="handle"> <a-icon :type="siderDrawer.visible ? 'close' : 'menu-fold'"></a-icon> </div> - <theme-switch></theme-switch> + <a-theme-switch></a-theme-switch> <a-menu :theme="themeSwitcher.currentTheme" mode="inline" :selected-keys="['{{ .request_uri }}']" @click="({key}) => key.startsWith('http') ? window.open(key) : location.href = key"> {{template "menuItems" .}} </a-menu> |
