diff options
author | Eugen Rochko <eugen@zeonfederated.com> | 2019-09-20 21:22:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-20 21:22:16 +0200 |
commit | 450639a406217bf4aaad5a37d874f384cec06164 (patch) | |
tree | d1895130248b7d07361dac9ae8db8af598f56707 /app/views | |
parent | 73a5ef03b2ea175a24c33257638f46f71d22b95a (diff) |
Fix hashtag batch actions being unavailable on pending review page (#11897)
Regression from #11829
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/tags/index.html.haml | 2 |
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') } |