Clean up admin UI for accounts (#6004)

* Add staff filter to admin UI for accounts, remove obsolete columns

* Only display OStatus section in admin UI for accounts when OStatus data
This commit is contained in:
Eugen Rochko
2017-12-13 12:15:10 +01:00
committed by GitHub
parent 155e211dd0
commit 20a6584d2d
7 changed files with 17 additions and 20 deletions

View File

@ -45,6 +45,8 @@ class AccountFilter
else
Account.default_scoped
end
when 'staff'
accounts_with_users.merge User.staff
else
raise "Unknown filter: #{key}"
end