Commit d361bd63 authored by alexpott's avatar alexpott

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

parent e2aaf40d
......@@ -174,9 +174,8 @@ public function getOperations(EntityInterface $entity) {
* {@inheritdoc}
public function render() {
$build['accounts'] = parent::render();
$build['accounts']['#empty'] = $this->t('No people available.');
$build['pager']['#type'] = 'pager';
$build = parent::render();
$build['table']['#empty'] = $this->t('No people available.');
return $build;
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment