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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user