mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-09-11 12:46:19 +00:00
auto open qr-modal bug fixed
This commit is contained in:
parent
968a2f2ea5
commit
32fe8580c2
1 changed files with 2 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;
|
||||||
|
|
Loading…
Reference in a new issue