Skip to content

Commit

Permalink
Fix "select all matching items" being offered when all items are on t…
Browse files Browse the repository at this point in the history
…he page (mastodon#19054)
  • Loading branch information
Gargron authored and kadoshita committed Nov 19, 2022
1 parent d7b16fa commit e816547
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/admin/accounts/index.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@
= f.button safe_join([fa_icon('times'), t('admin.accounts.reject')]), name: :reject, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') }

= f.button safe_join([fa_icon('lock'), t('admin.accounts.perform_full_suspension')]), name: :suspend, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') }
- if true || @accounts.total_count > @accounts.size
- if @accounts.total_count > @accounts.size
.batch-table__select-all
.not-selected.active
%span= t('generic.all_items_on_page_selected_html', count: @accounts.size)
Expand Down

0 comments on commit e816547

Please sign in to comment.