fixed 组织用户不存在
This commit is contained in:
parent
35cf298f5d
commit
70ba78a9b5
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue