From 09cd2248dc86590d02bd10bd76992fa3b13a99d3 Mon Sep 17 00:00:00 2001 From: Hamidreza Ghavami <70919649+hamid-gh98@users.noreply.github.com> Date: Fri, 12 May 2023 21:57:34 +0430 Subject: [PATCH] fix show client name in QR modal --- web/html/xui/inbounds.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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);