File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed
Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -82,12 +82,14 @@ export async function createKernel(options: KernelOptions) {
8282 }
8383
8484 // Register services and plugins
85+ // SetupPlugin must load BEFORE other plugins that contribute navigation items
86+ // so that the setupNav service is available during their init() phase
87+ await kernel . use ( new SetupPlugin ( ) ) ;
8588 await kernel . use ( new FeedServicePlugin ( ) ) ;
8689 await kernel . use ( new MetadataPlugin ( { watch : false } ) ) ;
8790 await kernel . use ( new AIServicePlugin ( ) ) ;
8891 await kernel . use ( new AutomationServicePlugin ( ) ) ;
8992 await kernel . use ( new AnalyticsServicePlugin ( ) ) ;
90- await kernel . use ( new SetupPlugin ( ) ) ;
9193
9294 // Protocol service is registered automatically by ObjectQLPlugin.init()
9395 // via ObjectStackProtocolImplementation (which uses SchemaRegistry internally).
You can’t perform that action at this time.
0 commit comments