fix: Add navigation entry by closure
Signed-off-by: Ferdinand Thiessen <opensource@fthiessen.de>
This commit is contained in:
Родитель
b936c9999f
Коммит
34bb9c1d85
|
@ -122,7 +122,7 @@ class Application extends App implements IBootstrap {
|
|||
|
||||
try {
|
||||
$container->get(INavigationManager::class)
|
||||
->add($this->fullTextSearchNavigation());
|
||||
->add(fn () => $this->fullTextSearchNavigation());
|
||||
} catch (RouteNotFoundException $e) {
|
||||
}
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче