Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'master' into fix/setting/accessibility-title
Signed-off-by: Carl Schwan <[email protected]>
  • Loading branch information
CarlSchwan authored Sep 2, 2022
commit 2397ea72196de42a79e2a5873dcbb07db698f348
7 changes: 6 additions & 1 deletion apps/settings/lib/Controller/CommonSettingsTrait.php
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,12 @@ private function formatSettings(array $settings): array {
}

private function getIndexResponse(string $type, string $section): TemplateResponse {
$this->navigationManager->setActiveEntry('settings');
if ($type === 'personal') {
$this->navigationManager->setActiveEntry('settings');
} elseif ($type === 'admin') {
$this->navigationManager->setActiveEntry('admin_settings');
}

$templateParams = [];
$templateParams = array_merge($templateParams, $this->getNavigationParameters($type, $section));
$templateParams = array_merge($templateParams, $this->getSettings($section));
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.