mirror of
https://github.com/mastodon/mastodon.git
synced 2024-11-20 03:25:17 +01:00
Fix: Ensure "With Media" is highlighted from Admin Accounts page (#30812)
This commit is contained in:
parent
052c90b8de
commit
30ae5952d2
@ -8,7 +8,7 @@
|
||||
%strong= t('admin.statuses.media.title')
|
||||
%ul
|
||||
%li= filter_link_to t('generic.all'), media: nil, id: nil
|
||||
%li= filter_link_to t('admin.statuses.with_media'), media: '1'
|
||||
%li= filter_link_to t('admin.statuses.with_media'), media: true
|
||||
.back-link
|
||||
- if params[:report_id]
|
||||
= link_to admin_report_path(params[:report_id].to_i) do
|
||||
|
@ -33,7 +33,7 @@ describe Admin::StatusesController do
|
||||
|
||||
context 'when filtering by media' do
|
||||
before do
|
||||
get :index, params: { account_id: account.id, media: '1' }
|
||||
get :index, params: { account_id: account.id, media: true }
|
||||
end
|
||||
|
||||
it 'returns http success' do
|
||||
|
Loading…
Reference in New Issue
Block a user