Browse Source

fix show client name in QR modal

Hamidreza Ghavami 1 year ago
parent
commit
09cd2248dc
1 changed files with 2 additions and 1 deletions
  1. 2 1
      web/html/xui/inbounds.html

+ 2 - 1
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);