Skip to content
Snippets Groups Projects
Unverified Commit 450639a4 authored by Eugen Rochko's avatar Eugen Rochko Committed by GitHub
Browse files

Fix hashtag batch actions being unavailable on pending review page (#11897)

Regression from #11829
parent 73a5ef03
No related branches found
No related tags found
No related merge requests found
......@@ -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') }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment