Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/xui')
-rw-r--r--web/html/xui/form/sniffing.html18
1 files changed, 13 insertions, 5 deletions
diff --git a/web/html/xui/form/sniffing.html b/web/html/xui/form/sniffing.html
index a088dee7..f4230dd1 100644
--- a/web/html/xui/form/sniffing.html
+++ b/web/html/xui/form/sniffing.html
@@ -13,10 +13,18 @@
</span>
<a-switch v-model="inbound.sniffing.enabled"></a-switch>
</a-form-item>
- <a-form-item :wrapper-col="{span:24}">
- <a-checkbox-group v-model="inbound.sniffing.destOverride" v-if="inbound.sniffing.enabled">
- <a-checkbox v-for="key,value in SNIFFING_OPTION" :value="key">[[ value ]]</a-checkbox>
- </a-checkbox-group>
- </a-form-item>
+ <template v-if="inbound.sniffing.enabled">
+ <a-form-item :wrapper-col="{span:24}">
+ <a-checkbox-group v-model="inbound.sniffing.destOverride">
+ <a-checkbox v-for="key,value in SNIFFING_OPTION" :value="key">[[ value ]]</a-checkbox>
+ </a-checkbox-group>
+ </a-form-item>
+ <a-form-item label='Metadata Only'>
+ <a-switch v-model="inbound.sniffing.metadataOnly"></a-switch>
+ </a-form-item>
+ <a-form-item label='Route Only'>
+ <a-switch v-model="inbound.sniffing.routeOnly"></a-switch>
+ </a-form-item>
+ </template>
</a-form>
{{end}}