diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-10-03 11:52:08 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2024-10-03 11:52:08 +0300 |
| commit | b22f859c38c139a985504b84514b1f24eb7593a0 (patch) | |
| tree | cd9e8d84d502383bb0766d1cf03b795cb0e505bf /web/html | |
| parent | 98869c71694e6c337153ccd057b844f8a79a4ef5 (diff) | |
Show tcpNoDelay only when tcpMptcp is true
Diffstat (limited to 'web/html')
| -rw-r--r-- | web/html/xui/form/outbound.html | 4 | ||||
| -rw-r--r-- | web/html/xui/form/stream/stream_sockopt.html | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/web/html/xui/form/outbound.html b/web/html/xui/form/outbound.html index 604108fe..00b33c0b 100644 --- a/web/html/xui/form/outbound.html +++ b/web/html/xui/form/outbound.html @@ -452,8 +452,8 @@ </a-form-item> <a-form-item label="Multipath TCP"> <a-switch v-model.trim="outbound.stream.sockopt.tcpMptcp"></a-switch> - </a-form-item> - <a-form-item label="TCP No-Delay"> + </a-form-item> + <a-form-item label="TCP No-Delay" v-if="outbound.stream.sockopt.tcpMptcp"> <a-switch v-model="outbound.stream.sockopt.tcpNoDelay"></a-switch> </a-form-item> </template> diff --git a/web/html/xui/form/stream/stream_sockopt.html b/web/html/xui/form/stream/stream_sockopt.html index a243a0d5..c08074ee 100644 --- a/web/html/xui/form/stream/stream_sockopt.html +++ b/web/html/xui/form/stream/stream_sockopt.html @@ -32,7 +32,7 @@ <a-form-item label="Multipath TCP"> <a-switch v-model.trim="inbound.stream.sockopt.tcpMptcp"></a-switch> </a-form-item> - <a-form-item label="TCP No-Delay"> + <a-form-item label="TCP No-Delay" v-if="inbound.stream.sockopt.tcpMptcp"> <a-switch v-model.trim="inbound.stream.sockopt.tcpNoDelay"></a-switch> </a-form-item> <a-form-item label="V6 Only"> |
