Skip to content

Commit 0eebd28

Browse files
committed
fix(NavigationManager): only resolve navigations of booted apps
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
1 parent ecbb5d8 commit 0eebd28

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/private/NavigationManager.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,8 +225,12 @@ private function resolveAppNavigationEntries(): void {
225225
}
226226

227227
foreach ($apps as $app) {
228-
// skip already loaded apps
228+
if ($this->appManager->isAppLoaded($app)) {
229+
// the app is not yet booted thus its routes do not yet exist
230+
continue;
231+
}
229232
if (in_array($app, $this->loadedAppInfo)) {
233+
// the apps navigations were already resolved
230234
continue;
231235
}
232236

0 commit comments

Comments
 (0)