Compare commits

...

2 commits

Author SHA1 Message Date
ali rahimi
32fe8580c2 auto open qr-modal bug fixed 2025-01-18 22:05:51 +01:00
ali rahimi
968a2f2ea5 vi translate file updated 2025-01-18 22:05:21 +01:00
2 changed files with 4 additions and 1 deletions

View file

@ -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;

View file

@ -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"