From 61288db11eda6e3707541648795e6e856bc79cd0 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Sun, 14 May 2023 06:08:49 +0430 Subject: FIX siderDrawer button function --- web/html/xui/settings.html | 1 + 1 file changed, 1 insertion(+) (limited to 'web/html/xui/settings.html') diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index c6d5f303..05548509 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -241,6 +241,7 @@ delimiters: ['[[', ']]'], el: '#app', data: { + siderDrawer, themeSwitcher, spinning: false, oldAllSetting: new AllSetting(), -- cgit v1.2.3 From 5a908b9f5861cea50b04be772ceff9dfea51c74d Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Sun, 14 May 2023 06:19:18 +0430 Subject: FIX redirect after restart panel --- web/html/xui/settings.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/xui/settings.html') diff --git a/web/html/xui/settings.html b/web/html/xui/settings.html index 05548509..49e62df9 100644 --- a/web/html/xui/settings.html +++ b/web/html/xui/settings.html @@ -358,7 +358,7 @@ if (msg.success) { this.loading(true); await PromiseUtil.sleep(5000); - location.reload(); + window.location.replace(this.allSetting.webBasePath + "panel/settings"); } }, async getUserSecret() { -- cgit v1.2.3