From 32fe8580c277ec371bfda37ba1c7e7066bc01a72 Mon Sep 17 00:00:00 2001 From: ali rahimi Date: Sat, 18 Jan 2025 22:05:51 +0100 Subject: [PATCH] auto open qr-modal bug fixed --- web/html/xui/inbounds.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/web/html/xui/inbounds.html b/web/html/xui/inbounds.html index 854b0808..5d4d918b 100644 --- a/web/html/xui/inbounds.html +++ b/web/html/xui/inbounds.html @@ -1094,7 +1094,7 @@ 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) { if (Array.isArray(client) && Array.isArray(dbInboundId) && Array.isArray(clientId)){ @@ -1296,6 +1296,7 @@ if (msg.success) { await this.getDBInbounds(); } + return msg }, getInboundClients(dbInbound) { return dbInbound.toInbound().clients;