File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed
Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,6 @@ export type ExplorerSelectionCommandFunction<Item> = (
5959type BuiltInVsCodeCommands = {
6060 // The codeQLDatabases.focus command is provided by VS Code because we've registered the custom view
6161 "codeQLDatabases.focus" : ( ) => Promise < void > ;
62- "codeQLModelDetails.focus" : ( ) => Promise < void > ;
6362 "markdown.showPreviewToSide" : ( uri : Uri ) => Promise < void > ;
6463 "workbench.action.closeActiveEditor" : ( ) => Promise < void > ;
6564 revealFileInOS : ( uri : Uri ) => Promise < void > ;
Original file line number Diff line number Diff line change @@ -233,14 +233,14 @@ export class DataExtensionsEditorView extends AbstractWebview<
233233
234234 protected async handleJumpToUsage ( usage : Usage ) {
235235 if ( showModelDetailsView ( ) ) {
236- await this . openModelDetailsView ( ) ;
236+ await this . openModelDetailsView ( usage ) ;
237237 } else {
238238 await this . jumpToUsage ( usage . url ) ;
239239 }
240240 }
241241
242- protected async openModelDetailsView ( ) {
243- await this . app . commands . execute ( "codeQLModelDetails.focus" ) ;
242+ protected async openModelDetailsView ( usage : Usage ) {
243+ await this . revealItemInDetailsPanel ( usage ) ;
244244 }
245245
246246 protected async jumpToUsage (
You can’t perform that action at this time.
0 commit comments