outbound tag velidation

This commit is contained in:
Alireza Ahmadi
2023-12-05 23:03:53 +01:00
parent 056de927da
commit 1f026d0039
9 changed files with 17 additions and 8 deletions

View File

@@ -700,7 +700,8 @@
}
outModal.close();
},
isEdit: false
isEdit: false,
tags: this.templateSettings.outbounds.map(obj => obj.tag)
});
},
editOutbound(index){
@@ -713,7 +714,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){