minor changes

Co-Authored-By: somebodywashere <68244480+somebodywashere@users.noreply.github.com>
This commit is contained in:
MHSanaei
2024-03-12 17:35:17 +03:30
parent 6fdc07a2d0
commit 903db95783
2 changed files with 9 additions and 40 deletions

View File

@@ -425,7 +425,6 @@
this.loading(false);
if (msg.success) {
this.user = {};
window.location.replace;
}
},
async restartPanel() {
@@ -464,7 +463,6 @@
const msg = await HttpUtil.post("/panel/setting/updateUserSecret", this.user);
if (msg && msg.obj) {
this.user = msg.obj;
window.location.replace;
}
this.loading(false);
await this.updateAllSetting();