fix: unassign user from group lead to inverted result (#8093)

pull/8104/head
NGPixel 2 weeks ago
parent 8c729f8025
commit 50ba64591a
No known key found for this signature in database

@ -863,7 +863,7 @@ function unassignGroup(id) {
message: t('admin.users.minimumGroupRequired')
})
} else {
state.user.groups = state.user.groups.filter((gr) => gr.id === id)
state.user.groups = state.user.groups.filter((gr) => gr.id !== id)
}
}

Loading…
Cancel
Save