diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2022-08-26 02:11:23 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-26 02:11:23 +0200 |
commit | 1d84cbeaab7cecdfef10f53afe1e708b8a363603 (patch) | |
tree | add5a9a31e85b68c21f086671c134e6b6cb4cafe | |
parent | af396fa35f589e1f759c7a3a0dad7932f1862309 (diff) |
Fix "select all matching items" being offered when all items are on the page (#19054)
-rw-r--r-- | app/views/admin/accounts/index.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/accounts/index.html.haml b/app/views/admin/accounts/index.html.haml index 670a09a2d..f33f788ed 100644 --- a/app/views/admin/accounts/index.html.haml +++ b/app/views/admin/accounts/index.html.haml @@ -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) |