mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
fix(Navigation): ensure NavManager is inited when adding an entry
otherwise custom order cannot be applied Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
This commit is contained in:
parent
4bda299541
commit
1f2d267443
1 changed files with 1 additions and 4 deletions
|
|
@ -94,6 +94,7 @@ class NavigationManager implements INavigationManager {
|
|||
$this->closureEntries[] = $entry;
|
||||
return;
|
||||
}
|
||||
$this->init();
|
||||
|
||||
$id = $entry['id'];
|
||||
|
||||
|
|
@ -236,10 +237,6 @@ class NavigationManager implements INavigationManager {
|
|||
]);
|
||||
}
|
||||
|
||||
if ($this->appManager === 'null') {
|
||||
return;
|
||||
}
|
||||
|
||||
$this->defaultApp = $this->appManager->getDefaultAppForUser($this->userSession->getUser(), false);
|
||||
|
||||
if ($this->userSession->isLoggedIn()) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue