core-app-api: bring back element discovery for AppManager

Co-authored-by: blam <ben@blam.sh>
Signed-off-by: Patrik Oldsberg <poldsberg@gmail.com>
This commit is contained in:
Patrik Oldsberg
2022-07-13 15:49:51 +02:00
parent ee54cafa4e
commit 42c50e2eff
+1 -1
View File
@@ -222,7 +222,7 @@ export class AppManager implements BackstageApp {
const { routing, featureFlags, routeBindings } = useMemo(() => {
const result = traverseElementTree({
root: children,
discoverers: [childDiscoverer],
discoverers: [childDiscoverer, routeElementDiscoverer],
collectors: {
routing: routingV2Collector,
collectedPlugins: pluginCollector,