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:
authorAlireza Ahmadi <alireza7@gmail.com>2023-12-06 01:03:38 +0300
committerAlireza Ahmadi <alireza7@gmail.com>2023-12-06 01:03:38 +0300
commitaa196372887dcfd1048522d13c573f8c0296548c (patch)
tree4ef54d5955e06c4681c902da12be404809974975 /web/html/xui/xray_reverse_modal.html
parent1bbef6d612e4db7749497fef6b76611831d75494 (diff)
outbound tag validation #1286
Diffstat (limited to 'web/html/xui/xray_reverse_modal.html')
-rw-r--r--web/html/xui/xray_reverse_modal.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/xray_reverse_modal.html b/web/html/xui/xray_reverse_modal.html
index bd0152bb..71a21517 100644
--- a/web/html/xui/xray_reverse_modal.html
+++ b/web/html/xui/xray_reverse_modal.html
@@ -111,9 +111,9 @@
]
}
this.isEdit = isEdit;
- this.inboundTags = app.templateSettings.inbounds.map(obj => obj.tag);
+ this.inboundTags = app.templateSettings.inbounds.filter((i) => !ObjectUtil.isEmpty(i.tag)).map(obj => obj.tag);
this.inboundTags.push(...app.inboundTags);
- this.outboundTags = app.templateSettings.outbounds.map(obj => obj.tag);
+ this.outboundTags = app.templateSettings.outbounds.filter((o) => !ObjectUtil.isEmpty(o.tag)).map(obj => obj.tag);
},
close() {
reverseModal.visible = false;