Fix clear IP affect in UI

This commit is contained in:
Alireza Ahmadi committed 2023-03-17 19:04:07 +01:00
1 parent baaa814a51
commit 025f559460
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -120,12 +120,12 @@
event.target.value = msg.obj
}
},
async clearDBClientIps(email,event) {
async clearDBClientIps(email) {
const msg = await HttpUtil.post('/xui/inbound/clearClientIps/'+ email);
if (!msg.success) {
return;
}
event.target.value = ""
document.getElementById("clientIPs").value = ""
},
},
});