From 8d18c8e98f1b6531d1997feb6933419d71401968 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Wed, 13 Dec 2023 19:27:36 +0330 Subject: [gui] redesign forms Co-Authored-By: Alireza Ahmadi --- web/html/xui/inbound_modal.html | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'web/html/xui/inbound_modal.html') diff --git a/web/html/xui/inbound_modal.html b/web/html/xui/inbound_modal.html index 4ef8f2d6..f7f9d727 100644 --- a/web/html/xui/inbound_modal.html +++ b/web/html/xui/inbound_modal.html @@ -98,6 +98,11 @@ client.flow = ""; }); } + if ((this.inModal.inbound.protocol == Protocols.VLESS || this.inModal.inbound.protocol == Protocols.TROJAN) && !inModal.inbound.xtls) { + this.inModal.inbound.settings.vlesses.forEach(client => { + client.flow = ""; + }); + } }, SSMethodChange() { if (this.inModal.inbound.isSSMultiUser) { -- cgit v1.2.3