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:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-10 19:30:40 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-10 19:30:40 +0300
commit2401c99817f1bafe42c3e90d2574198bbb33c9cf (patch)
treec60c12576901a2178b0e87555a618e5a36d91180 /web/html/modals/xray_rule_modal.html
parent2f36a4047c7c32ca17aaea8875bb5c087430b40d (diff)
rules: source to sourceIP
Diffstat (limited to 'web/html/modals/xray_rule_modal.html')
-rw-r--r--web/html/modals/xray_rule_modal.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/web/html/modals/xray_rule_modal.html b/web/html/modals/xray_rule_modal.html
index 32a3f80c..d367600b 100644
--- a/web/html/modals/xray_rule_modal.html
+++ b/web/html/modals/xray_rule_modal.html
@@ -9,7 +9,7 @@
</template> Source IPs <a-icon type="question-circle"></a-icon>
</a-tooltip>
</template>
- <a-input v-model.trim="ruleModal.rule.source"></a-input>
+ <a-input v-model.trim="ruleModal.rule.sourceIP"></a-input>
</a-form-item>
<a-form-item>
<template slot="label">
@@ -123,7 +123,7 @@
port: "",
sourcePort: "",
network: "",
- source: "",
+ sourceIP: "",
user: "",
inboundTag: [],
protocol: [],
@@ -156,7 +156,7 @@
this.rule.port = rule.port;
this.rule.sourcePort = rule.sourcePort;
this.rule.network = rule.network;
- this.rule.source = rule.source ? rule.source.join(',') : [];
+ this.rule.sourceIP = rule.sourceIP ? rule.sourceIP.join(',') : [];
this.rule.user = rule.user ? rule.user.join(',') : [];
this.rule.inboundTag = rule.inboundTag;
this.rule.protocol = rule.protocol;
@@ -170,7 +170,7 @@
port: "",
sourcePort: "",
network: "",
- source: "",
+ sourceIP: "",
user: "",
inboundTag: [],
protocol: [],
@@ -211,7 +211,7 @@
rule.port = value.port;
rule.sourcePort = value.sourcePort;
rule.network = value.network;
- rule.source = value.source.length > 0 ? value.source.split(',') : [];
+ rule.sourceIP = value.sourceIP.length > 0 ? value.sourceIP.split(',') : [];
rule.user = value.user.length > 0 ? value.user.split(',') : [];
rule.inboundTag = value.inboundTag;
rule.protocol = value.protocol;