@@ -526,10 +526,11 @@ const clubRoleBlocks = computed(() => {
|
||||
})
|
||||
|
||||
const visibleClubRoleBlocks = computed(() => {
|
||||
if (canManageClubAssignments.value) {
|
||||
return clubRoleBlocks.value
|
||||
}
|
||||
return clubRoleBlocks.value.filter((b) => canManageRolesForClub(b.club_id))
|
||||
return clubRoleBlocks.value.filter((b) => {
|
||||
const cid = b.club_id || ''
|
||||
if (canManageClubAssignments.value) return true
|
||||
return manageableClubIds.value.includes(cid)
|
||||
})
|
||||
})
|
||||
|
||||
// 添加用户弹窗
|
||||
|
||||
Reference in New Issue
Block a user