Skip to content

Commit e278e0b

Browse files
Gargronhiyuki2578
authored andcommitted
Fix hashtag batch actions being unavailable on pending review page (mastodon#11897)
Regression from mastodon#11829
1 parent 88008e5 commit e278e0b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/views/admin/tags/index.html.haml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@
5151
%label.batch-table__toolbar__select.batch-checkbox-all
5252
= check_box_tag :batch_checkbox_all, nil, false
5353
.batch-table__toolbar__actions
54-
- if params[:review] == 'pending_review'
54+
- if params[:pending_review] == '1'
5555
= 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') }
5656

5757
= 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 commit comments

Comments
 (0)