fixed 组织用户不存在

This commit is contained in:
xxq250 2022-11-28 11:19:56 +08:00
parent 35cf298f5d
commit 70ba78a9b5
1 changed files with 1 additions and 0 deletions

View File

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