about summary refs log tree commit diff
path: root/app/views/admin/accounts/index.html.haml
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2022-08-26 02:11:23 +0200
committerGitHub <noreply@github.com>2022-08-26 02:11:23 +0200
commit1d84cbeaab7cecdfef10f53afe1e708b8a363603 (patch)
treeadd5a9a31e85b68c21f086671c134e6b6cb4cafe /app/views/admin/accounts/index.html.haml
parentaf396fa35f589e1f759c7a3a0dad7932f1862309 (diff)
Fix "select all matching items" being offered when all items are on the page (#19054)
Diffstat (limited to 'app/views/admin/accounts/index.html.haml')
-rw-r--r--app/views/admin/accounts/index.html.haml2
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)