From 04cf250a547bb64265d256e7d15af7cea5ecfa67 Mon Sep 17 00:00:00 2001 From: Ali Rahimi Date: Thu, 23 Jan 2025 21:33:47 +0100 Subject: json post base path bug fixed (#2647) * json post base path bug fixed * added comment field to group client management --- web/html/xui/client_modal.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'web/html/xui') diff --git a/web/html/xui/client_modal.html b/web/html/xui/client_modal.html index de7915a5..ef4e14a1 100644 --- a/web/html/xui/client_modal.html +++ b/web/html/xui/client_modal.html @@ -36,12 +36,13 @@ ok() { if (app.subSettings.enable && clientModal.group.isGroup && clientModal.group.canGroup) { const currentClient = clientModal.group.currentClient; - const { limitIp, totalGB, expiryTime, reset, enable, subId, tgId, flow } = currentClient; + const { limitIp, comment, totalGB, expiryTime, reset, enable, subId, tgId, flow } = currentClient; const uniqueEmails = clientModalApp.makeGroupEmailsUnique(clientModal.dbInbounds, currentClient.email, clientModal.group.clients); clientModal.group.clients.forEach((client, index) => { client.email = uniqueEmails[index]; client.limitIp = limitIp; + client.comment = comment; client.totalGB = totalGB; client.expiryTime = expiryTime; client.reset = reset; -- cgit v1.2.3