From 5649673adaeabe791def77512b8cc8f5ae501107 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 ec8a89c1063..4484ed49d8e 100644 --- a/lib/private/TemplateLayout.php +++ b/lib/private/TemplateLayout.php @@ -156,7 +156,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', '');