Skip to content

Commit

Permalink
Change Remark write in client link
Browse files Browse the repository at this point in the history
  • Loading branch information
r0zbeh committed Jul 20, 2023
1 parent 6e09d38 commit a33ff32
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion web/html/common/qrcode_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
this.inbound = dbInbound.toInbound();
settings = JSON.parse(this.inbound.settings);
this.client = settings.clients[clientIndex];
remark = this.dbInbound.remark + ( this.client ? "-" + this.client.email : '');
remark = this.client ? this.client.email : '';
address = this.dbInbound.address;
this.subId = '';
this.qrcodes = [];
Expand Down
2 changes: 1 addition & 1 deletion web/html/xui/inbound_info_modal.html
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,7 @@
this.clientSettings = this.settings.clients ? Object.values(this.settings.clients)[index] : null;
this.isExpired = this.inbound.isExpiry(index);
this.clientStats = this.settings.clients ? this.dbInbound.clientStats.find(row => row.email === this.clientSettings.email) : [];
remark = this.dbInbound.remark + ( this.clientSettings ? "-" + this.clientSettings.email : '');
remark = this.clientSettings ? this.clientSettings.email : '';
address = this.dbInbound.address;
this.links = [];
if (this.inbound.tls && !ObjectUtil.isArrEmpty(this.inbound.stream.tls.settings.domains)) {
Expand Down

0 comments on commit a33ff32

Please sign in to comment.