From d22e22c3d9689737c7e2dd26d862d0bf2e728d0d Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Tue, 21 Apr 2026 09:00:08 +0200 Subject: [PATCH] fix: Limit the list of exposed apps to the used app Signed-off-by: Joas Schilling --- lib/private/TemplateLayout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/private/TemplateLayout.php b/lib/private/TemplateLayout.php index c16469bc6ab..78ad5e290d5 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -157,7 +157,7 @@ class TemplateLayout { $page->assign('appid', $appId); $page->assign('bodyid', 'body-public'); - $this->initialState->provideInitialState('core', 'apps', array_values($this->navigationManager->getAll())); + $this->initialState->provideInitialState('core', 'apps', [$this->navigationManager->get($appId)]); // Set logo link target $logoUrl = $this->config->getSystemValueString('logo_url', '');