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.html
parent1bbef6d612e4db7749497fef6b76611831d75494 (diff)
outbound tag validation #1286
Diffstat (limited to 'web/html/xui/xray.html')
-rw-r--r--web/html/xui/xray.html6
1 files changed, 4 insertions, 2 deletions
diff --git a/web/html/xui/xray.html b/web/html/xui/xray.html
index 9bcacebd..b8bbe094 100644
--- a/web/html/xui/xray.html
+++ b/web/html/xui/xray.html
@@ -747,7 +747,8 @@
}
outModal.close();
},
- isEdit: false
+ isEdit: false,
+ tags: this.templateSettings.outbounds.map(obj => obj.tag)
});
},
editOutbound(index){
@@ -760,7 +761,8 @@
this.outboundSettings = JSON.stringify(this.templateSettings.outbounds);
outModal.close();
},
- isEdit: true
+ isEdit: true,
+ tags: this.outboundData.filter((o) => o.key != index ).map(obj => obj.tag)
});
},
deleteOutbound(index){