Merge pull request #434 from hamid-gh98/main

[FIX] siderDrawer button functionality + [Update] redirect restart panel
This commit is contained in:
Ho3ein 2023-05-14 10:49:30 +03:30 committed by GitHub
commit 5487dc41cc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 1 deletions

View file

@ -28,6 +28,12 @@ body {
display: none;
}
@media (max-width: 768px) {
.ant-layout-sider {
display: none;
}
}
.ant-card {
border-radius: 1.5rem;
}

View file

@ -317,6 +317,7 @@
delimiters: ['[[', ']]'],
el: '#app',
data: {
siderDrawer,
themeSwitcher,
spinning: false,
inbounds: [],

View file

@ -388,6 +388,7 @@
delimiters: ['[[', ']]'],
el: '#app',
data: {
siderDrawer,
themeSwitcher,
status: new Status(),
versionModal,

View file

@ -241,6 +241,7 @@
delimiters: ['[[', ']]'],
el: '#app',
data: {
siderDrawer,
themeSwitcher,
spinning: false,
oldAllSetting: new AllSetting(),
@ -357,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() {