Fix hashtag batch actions being unavailable on pending review page (#11897)
Regression from #11829
This commit is contained in:
parent
73a5ef03b2
commit
450639a406
@ -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') }
|
||||
|
Loading…
Reference in New Issue
Block a user