Skip to content
Snippets Groups Projects
Commit d361bd63 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2478091 by willzyx: Pager is shown twice in admin/people if views module is disabled

parent e2aaf40d
No related branches found
No related tags found
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
...@@ -174,9 +174,8 @@ public function getOperations(EntityInterface $entity) { ...@@ -174,9 +174,8 @@ public function getOperations(EntityInterface $entity) {
* {@inheritdoc} * {@inheritdoc}
*/ */
public function render() { public function render() {
$build['accounts'] = parent::render(); $build = parent::render();
$build['accounts']['#empty'] = $this->t('No people available.'); $build['table']['#empty'] = $this->t('No people available.');
$build['pager']['#type'] = 'pager';
return $build; return $build;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment