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 @@
Source IPs
-
+
@@ -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;