@@ -26,7 +26,6 @@ import { asError, assertNever, getErrorMessage } from "../common/helpers-pure";
2626import { generateFlowModel } from "./generate-flow-model" ;
2727import { promptImportGithubDatabase } from "../databases/database-fetcher" ;
2828import { App } from "../common/app" ;
29- import { ResolvableLocationValue } from "../common/bqrs-cli-types" ;
3029import { showResolvableLocation } from "../databases/local-databases/locations" ;
3130import { decodeBqrsToExternalApiUsages } from "./bqrs" ;
3231import { redactableError } from "../common/errors" ;
@@ -233,19 +232,9 @@ export class DataExtensionsEditorView extends AbstractWebview<
233232
234233 protected async handleJumpToUsage ( usage : Usage ) {
235234 if ( showModelDetailsView ( ) ) {
236- await this . openModelDetailsView ( usage ) ;
235+ await this . revealItemInDetailsPanel ( usage ) ;
237236 }
238- await this . jumpToUsage ( usage . url ) ;
239- }
240-
241- protected async openModelDetailsView ( usage : Usage ) {
242- await this . revealItemInDetailsPanel ( usage ) ;
243- }
244-
245- protected async jumpToUsage (
246- location : ResolvableLocationValue ,
247- ) : Promise < void > {
248- await showResolvableLocation ( location , this . databaseItem , this . app . logger ) ;
237+ await showResolvableLocation ( usage . url , this . databaseItem , this . app . logger ) ;
249238 }
250239
251240 protected async loadExistingModeledMethods ( ) : Promise < void > {
0 commit comments