fix users config in non-user based protocols

This commit is contained in:
Alireza Ahmadi
2024-05-23 11:59:28 +02:00
parent 988675a7a7
commit e3be3be9d9
+3 -1
View File
@@ -190,10 +190,12 @@ const saveModal = (data:Inbound, stats: boolean) => {
inbounds.value[modal.value.id] = data
}
if (Object.hasOwn(data,'users')) {
// Set users
data = buildInboundsUsers(data)
// Update links
if (Object.hasOwn(data,'users')) updateLinks(data)
updateLinks(data)
}
modal.value.visible = false
}
const updateLinks = (i: InboundWithUser) => {