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:
parent
155e211dd0
commit
20a6584d2d
7 changed files with 17 additions and 20 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue