about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2019-09-20 21:22:16 +0200
committerGitHub <noreply@github.com>2019-09-20 21:22:16 +0200
commit450639a406217bf4aaad5a37d874f384cec06164 (patch)
treed1895130248b7d07361dac9ae8db8af598f56707
parent73a5ef03b2ea175a24c33257638f46f71d22b95a (diff)
Fix hashtag batch actions being unavailable on pending review page (#11897)
Regression from #11829
-rw-r--r--app/views/admin/tags/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/admin/tags/index.html.haml b/app/views/admin/tags/index.html.haml
index c767c9d18..498b93083 100644
--- a/app/views/admin/tags/index.html.haml
+++ b/app/views/admin/tags/index.html.haml
@@ -51,7 +51,7 @@
       %label.batch-table__toolbar__select.batch-checkbox-all
         = check_box_tag :batch_checkbox_all, nil, false
       .batch-table__toolbar__actions
-        - if params[:review] == 'pending_review'
+        - if params[:pending_review] == '1'
           = f.button safe_join([fa_icon('check'), t('admin.accounts.approve')]), name: :approve, class: 'table-action-link', type: :submit, data: { confirm: t('admin.reports.are_you_sure') }
 
           = 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') }