From: Eugen Rochko Date: Fri, 20 Sep 2019 19:22:16 +0000 (+0200) Subject: Fix hashtag batch actions being unavailable on pending review page (#11897) X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=450639a406217bf4aaad5a37d874f384cec06164;p=mastodon.git Fix hashtag batch actions being unavailable on pending review page (#11897) Regression from #11829 --- 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') }