mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-26 08:12:43 +00:00
Compare commits
2 commits
0cf28be1b3
...
32fe8580c2
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
32fe8580c2 | ||
|
|
968a2f2ea5 |
2 changed files with 4 additions and 1 deletions
|
|
@ -1094,7 +1094,7 @@
|
||||||
settings: '{"clients": [' + clients[index].toString() + ']}',
|
settings: '{"clients": [' + clients[index].toString() + ']}',
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
await this.submit(`/panel/inbound/addGroupClient`, data, modal, true)
|
return await this.submit(`/panel/inbound/addGroupClient`, data, modal, true)
|
||||||
},
|
},
|
||||||
async updateClient(client, dbInboundId, clientId) {
|
async updateClient(client, dbInboundId, clientId) {
|
||||||
if (Array.isArray(client) && Array.isArray(dbInboundId) && Array.isArray(clientId)){
|
if (Array.isArray(client) && Array.isArray(dbInboundId) && Array.isArray(clientId)){
|
||||||
|
|
@ -1296,6 +1296,7 @@
|
||||||
if (msg.success) {
|
if (msg.success) {
|
||||||
await this.getDBInbounds();
|
await this.getDBInbounds();
|
||||||
}
|
}
|
||||||
|
return msg
|
||||||
},
|
},
|
||||||
getInboundClients(dbInbound) {
|
getInboundClients(dbInbound) {
|
||||||
return dbInbound.toInbound().clients;
|
return dbInbound.toInbound().clients;
|
||||||
|
|
|
||||||
|
|
@ -191,6 +191,8 @@
|
||||||
[pages.client]
|
[pages.client]
|
||||||
"add" = "Thêm người dùng"
|
"add" = "Thêm người dùng"
|
||||||
"groupAdd" = "Thêm người dùng đăng ký"
|
"groupAdd" = "Thêm người dùng đăng ký"
|
||||||
|
"isGroupEdit" = "Chỉnh sửa nhóm"
|
||||||
|
"isGroupEditDesc" = "Tất cả người dùng có cùng đăng ký đều có thể được chỉnh sửa"
|
||||||
"edit" = "Chỉnh sửa người dùng"
|
"edit" = "Chỉnh sửa người dùng"
|
||||||
"submitAdd" = "Thêm"
|
"submitAdd" = "Thêm"
|
||||||
"submitEdit" = "Lưu thay đổi"
|
"submitEdit" = "Lưu thay đổi"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue