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/form/client.html')
-rw-r--r--web/html/xui/form/client.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/form/client.html b/web/html/xui/form/client.html
index 63cb8aef..d147fbf7 100644
--- a/web/html/xui/form/client.html
+++ b/web/html/xui/form/client.html
@@ -63,7 +63,7 @@
</template>
<a-input v-model.trim="client.tgId"></a-input>
</a-form-item>
- <a-form-item>
+ <a-form-item v-if="app.ipLimitEnable">
<template slot="label">
<a-tooltip>
<template slot="title">
@@ -75,7 +75,7 @@
</template>
<a-input-number v-model="client.limitIp" min="0"></a-input-number>
</a-form-item>
- <a-form-item v-if="client.email && client.limitIp > 0 && isEdit">
+ <a-form-item v-if="app.ipLimitEnable && client.email && isEdit">
<template slot="label">
<a-tooltip>
<template slot="title">