diff options
| author | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-06 01:03:38 +0300 |
|---|---|---|
| committer | Alireza Ahmadi <alireza7@gmail.com> | 2023-12-06 01:03:38 +0300 |
| commit | aa196372887dcfd1048522d13c573f8c0296548c (patch) | |
| tree | 4ef54d5955e06c4681c902da12be404809974975 /web/html/xui/xray_reverse_modal.html | |
| parent | 1bbef6d612e4db7749497fef6b76611831d75494 (diff) | |
outbound tag validation #1286
Diffstat (limited to 'web/html/xui/xray_reverse_modal.html')
| -rw-r--r-- | web/html/xui/xray_reverse_modal.html | 4 |
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; |
