From c2e9ee36658a8549251df7fb37467baa55341a5f Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Tue, 18 Jul 2023 03:19:01 +0330 Subject: update - shadowsocks Co-Authored-By: Alireza Ahmadi --- web/html/common/qrcode_modal.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/html/common/qrcode_modal.html') diff --git a/web/html/common/qrcode_modal.html b/web/html/common/qrcode_modal.html index 8edfa2de..12dd2060 100644 --- a/web/html/common/qrcode_modal.html +++ b/web/html/common/qrcode_modal.html @@ -37,7 +37,7 @@ this.inbound = dbInbound.toInbound(); settings = JSON.parse(this.inbound.settings); this.client = settings.clients[clientIndex]; - remark = this.dbInbound.remark + "-" + this.client.email; + remark = this.dbInbound.remark + ( this.client ? "-" + this.client.email : ''); address = this.dbInbound.address; this.subId = ''; this.qrcodes = []; -- cgit v1.2.3