mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix: Limit the list of exposed apps to the used app
Signed-off-by: Joas Schilling <coding@schilljs.com>
This commit is contained in:
parent
30172c5e17
commit
d22e22c3d9
1 changed files with 1 additions and 1 deletions
|
|
@ -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', '');
|
||||
|
|
|
|||
Loading…
Reference in a new issue