fix users config in non-user based protocols
This commit is contained in:
@@ -190,10 +190,12 @@ const saveModal = (data:Inbound, stats: boolean) => {
|
||||
|
||||
inbounds.value[modal.value.id] = data
|
||||
}
|
||||
// Set users
|
||||
data = buildInboundsUsers(data)
|
||||
// Update links
|
||||
if (Object.hasOwn(data,'users')) updateLinks(data)
|
||||
if (Object.hasOwn(data,'users')) {
|
||||
// Set users
|
||||
data = buildInboundsUsers(data)
|
||||
// Update links
|
||||
updateLinks(data)
|
||||
}
|
||||
modal.value.visible = false
|
||||
}
|
||||
const updateLinks = (i: InboundWithUser) => {
|
||||
|
||||
Reference in New Issue
Block a user