Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-05-23 17:25:42 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-05-23 17:25:42 +0300
commit526426e2dda0b11c99b8e1c5e887d00884da01a4 (patch)
tree88667c7caf1790b1d15cedaeffd492d45034e509
parent2223a21cfcd7173aae9c38558ce5865ebbd27097 (diff)
Alireza :100:
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
-rw-r--r--web/html/common/qrcode_modal.html2
-rw-r--r--web/html/xui/client_bulk_modal.html4
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html
index acef9811..e6b7b998 100644
--- a/web/html/common/qrcode_modal.html
+++ b/web/html/common/qrcode_modal.html
@@ -96,7 +96,7 @@
updated() {
if (qrModal.client.subId){
qrModal.subId = qrModal.client.subId;
- this.setQrCode("qrCode-sub",this.genSubLink(this.subId));
+ this.setQrCode("qrCode-sub",this.genSubLink(qrModal.subId));
}
qrModal.qrcodes.forEach((element,index) => {
this.setQrCode("qrCode-"+index, element.link);
diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html
index 48eb2cbc..e4c46cc0 100644
--- a/web/html/xui/client_bulk_modal.html
+++ b/web/html/xui/client_bulk_modal.html
@@ -158,8 +158,8 @@
newClient = clientsBulkModal.newClient(clientsBulkModal.dbInbound.protocol);
if (method == 4) newClient.email = "";
newClient.email += useNum ? prefix + i.toString() + postfix : prefix + postfix;
- newClient.subId = clientsBulkModal.subId;
- newClient.tgId = clientsBulkModal.tgId;
+ if (clientsBulkModal.subId.length > 0) newClient.subId = clientsBulkModal.subId;
+ if (clientsBulkModal.tgId.length > 0) newClient.tgId = clientsBulkModal.tgId;
newClient.limitIp = clientsBulkModal.limitIp;
newClient._totalGB = clientsBulkModal.totalGB;
newClient._expiryTime = clientsBulkModal.expiryTime;