diff --git a/apps/settings/lib/Controller/UsersController.php b/apps/settings/lib/Controller/UsersController.php index 4ee359b6fe9b6..8b153a86ca829 100644 --- a/apps/settings/lib/Controller/UsersController.php +++ b/apps/settings/lib/Controller/UsersController.php @@ -170,7 +170,7 @@ public function usersList(): TemplateResponse { } $recentUsersGroup = [ - 'id' => '__nc_internal_recent', + 'id' => 'recent', 'name' => $this->l10n->t('Recently active'), 'usercount' => $userCount, ]; @@ -203,7 +203,8 @@ public function usersList(): TemplateResponse { /* FINAL DATA */ $serverData = []; // groups - $serverData['groups'] = array_merge_recursive($adminGroup, [$recentUsersGroup, $disabledUsersGroup], $groups); + $serverData['sectionGroups'] = [$recentUsersGroup, $disabledUsersGroup]; + $serverData['groups'] = array_merge($adminGroup, $groups); // Various data $serverData['isAdmin'] = $isAdmin; $serverData['isDelegatedAdmin'] = $isDelegatedAdmin; diff --git a/apps/settings/src/components/GroupListItem.vue b/apps/settings/src/components/GroupListItem.vue index 44b0605c9de4f..ec5295b82d020 100644 --- a/apps/settings/src/components/GroupListItem.vue +++ b/apps/settings/src/components/GroupListItem.vue @@ -31,7 +31,7 @@ @@ -45,7 +45,7 @@ -