diff options
| author | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-12 20:27:34 +0300 |
|---|---|---|
| committer | Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> | 2023-05-12 21:15:28 +0300 |
| commit | 09cd2248dc86590d02bd10bd76992fa3b13a99d3 (patch) | |
| tree | b7cb4d3bff28316e84704ecc54a5b7361571c2b3 /web | |
| parent | 814337964591ac1971ab90662282964984232e24 (diff) | |
fix show client name in QR modal
Diffstat (limited to 'web')
| -rw-r--r-- | web/html/xui/inbounds.html | 3 |
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); |
