From aa196372887dcfd1048522d13c573f8c0296548c Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 5 Dec 2023 23:03:38 +0100 Subject: outbound tag validation #1286 --- web/html/xui/xray.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'web/html/xui/xray.html') 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){ -- cgit v1.2.3