fixed 组织用户不存在

This commit is contained in:
xxq250 2022-11-28 11:20:44 +08:00
parent ee0f09c8fa
commit 66a1be944a
1 changed files with 1 additions and 0 deletions

View File

@ -1,4 +1,5 @@
json.total_count @organization_users.total_count
json.organization_users @organization_users do |org_user|
next if org_user.user.blank?
json.partial! "detail", org_user: org_user, organization: @organization
end