mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-11 20:50:06 +00:00
added comment field to group client management
This commit is contained in:
parent
73410ad159
commit
8eea90e4ac
1 changed files with 2 additions and 1 deletions
|
@ -36,12 +36,13 @@
|
||||||
ok() {
|
ok() {
|
||||||
if (app.subSettings.enable && clientModal.group.isGroup && clientModal.group.canGroup) {
|
if (app.subSettings.enable && clientModal.group.isGroup && clientModal.group.canGroup) {
|
||||||
const currentClient = clientModal.group.currentClient;
|
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);
|
const uniqueEmails = clientModalApp.makeGroupEmailsUnique(clientModal.dbInbounds, currentClient.email, clientModal.group.clients);
|
||||||
|
|
||||||
clientModal.group.clients.forEach((client, index) => {
|
clientModal.group.clients.forEach((client, index) => {
|
||||||
client.email = uniqueEmails[index];
|
client.email = uniqueEmails[index];
|
||||||
client.limitIp = limitIp;
|
client.limitIp = limitIp;
|
||||||
|
client.comment = comment;
|
||||||
client.totalGB = totalGB;
|
client.totalGB = totalGB;
|
||||||
client.expiryTime = expiryTime;
|
client.expiryTime = expiryTime;
|
||||||
client.reset = reset;
|
client.reset = reset;
|
||||||
|
|
Loading…
Reference in a new issue