outbound tag validation #1286

This commit is contained in:
Alireza Ahmadi committed 2023-12-05 23:03:38 +01:00
1 parent 1bbef6d612
commit aa19637288
10 files changed
+18 -8

No files matched your search

+4 -2
View File
@@ -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){