File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -550,7 +550,7 @@ export async function mountProductHost(
550550 const { groups } = groupModelsForPicker ( currentModels )
551551 const group = groups . get ( groupProvider )
552552 if ( group !== undefined ) {
553- openLevel ( annotateCurrent ( group . rows , activeModelId ( ) ) , openModels )
553+ openLevel ( annotateCurrent ( group . rows , config . activeModelId ?. ( ) ) , openModels )
554554 }
555555 return
556556 }
@@ -574,11 +574,9 @@ export async function mountProductHost(
574574 } )
575575 }
576576
577- const activeModelId = ( ) : string | undefined => config . activeModelId ?.( )
578-
579577 openModels = ( ) : void => {
580578 const { top, groups } = groupModelsForPicker ( currentModels )
581- const activeId = activeModelId ( )
579+ const activeId = config . activeModelId ?. ( )
582580 // The active model's own row already reads "(current)" via annotateCurrent
583581 // below; when it lives inside a provider group, mark the group row too
584582 // so the pick is visible without descending into it.
You can’t perform that action at this time.
0 commit comments