diff --git a/frontend/src/views/Clients.vue b/frontend/src/views/Clients.vue index 7f7076f..d70414c 100644 --- a/frontend/src/views/Clients.vue +++ b/frontend/src/views/Clients.vue @@ -221,7 +221,7 @@ const buildInboundsUsers = (inboundTags:string[]) => { // Remove flow in non tls VLESS if (newInbound.type == InTypes.VLESS) { const vlessInbound = newInbound - if (!vlessInbound.tls?.enabled) delete(clientConfig["vless"].flow) + if (!vlessInbound.tls?.enabled || vlessInbound.transport?.type) delete(clientConfig["vless"].flow) } users.push(clientConfig[newInbound.type]) }) diff --git a/frontend/src/views/Inbounds.vue b/frontend/src/views/Inbounds.vue index b9c90ea..6068cbd 100644 --- a/frontend/src/views/Inbounds.vue +++ b/frontend/src/views/Inbounds.vue @@ -236,7 +236,7 @@ const buildInboundsUsers = (inbound:InboundWithUser):Inbound => { // Remove flow in non tls VLESS if (inbound.type == InTypes.VLESS) { const vlessInbound = inbound - if (!vlessInbound.tls?.enabled) delete(clientConfig["vless"].flow) + if (!vlessInbound.tls?.enabled || vlessInbound.transport?.type) delete(clientConfig["vless"].flow) } users.push(clientConfig[inbound.type]) })