Browse Source

fixed 组织用户不存在

pull/313/head
xxq250 3 years ago
parent
commit
70ba78a9b5
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      app/views/organizations/organization_users/index.json.jbuilder

+ 1
- 0
app/views/organizations/organization_users/index.json.jbuilder 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

Loading…
Cancel
Save