separated inbound's client mux #257

This commit is contained in:
Alireza Ahmadi
2024-10-22 23:55:37 +02:00
parent 90b2876867
commit 119cff3d85
4 changed files with 7 additions and 4 deletions
+4
View File
@@ -311,6 +311,10 @@ const delInbound = (index: number) => {
}
if (index < Data().oldData.config.inbounds.length){
Data().delInbound(index)
} else {
// Delete new inbound's inData if exists
const inDataIndex = Data().inData.findIndex((d:any) => d.tag == tag)
if (inDataIndex != -1) Data().inData.splice(inDataIndex, 1)
}
delOverlay.value[index] = false
}