Browse Source

Fix "select all matching items" being offered when all items are on the page (#19054)

closed-social-glitch-2
Eugen Rochko 2 years ago
committed by GitHub
parent
commit
1d84cbeaab
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      app/views/admin/accounts/index.html.haml

+ 1
- 1
app/views/admin/accounts/index.html.haml View File

@ -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)

Loading…
Cancel
Save