fix(Navigation): ensure NavManager is inited when adding an entrytags/v29.0.0beta3
$this->closureEntries[] = $entry; | $this->closureEntries[] = $entry; | ||||
return; | return; | ||||
} | } | ||||
$this->init(); | |||||
$id = $entry['id']; | $id = $entry['id']; | ||||
]); | ]); | ||||
} | } | ||||
if ($this->appManager === 'null') { | |||||
return; | |||||
} | |||||
$this->defaultApp = $this->appManager->getDefaultAppForUser($this->userSession->getUser(), false); | $this->defaultApp = $this->appManager->getDefaultAppForUser($this->userSession->getUser(), false); | ||||
if ($this->userSession->isLoggedIn()) { | if ($this->userSession->isLoggedIn()) { |