fix(Navigation): ensure NavManager is inited when adding an entrytags/v29.0.0beta3
@@ -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()) { |