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
path: root/web
diff options
context:
space:
mode:
authorHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-12 20:27:34 +0300
committerHamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com>2023-05-12 21:15:28 +0300
commit09cd2248dc86590d02bd10bd76992fa3b13a99d3 (patch)
treeb7cb4d3bff28316e84704ecc54a5b7361571c2b3 /web
parent814337964591ac1971ab90662282964984232e24 (diff)
fix show client name in QR modal
Diffstat (limited to 'web')
-rw-r--r--web/html/xui/inbounds.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html
index 080a08cc..a9dd8470 100644
--- a/web/html/xui/inbounds.html
+++ b/web/html/xui/inbounds.html
@@ -696,8 +696,9 @@
}
},
showQrcode(dbInbound, clientIndex) {
+ const clientName = JSON.parse(dbInbound.settings).clients[clientIndex].email;
const link = dbInbound.genLink(clientIndex);
- qrModal.show('{{ i18n "qrCode"}}', link, dbInbound);
+ qrModal.show('{{ i18n "qrCode"}}', link, dbInbound, '', clientName);
},
showInfo(dbInbound, index) {
infoModal.show(dbInbound, index);