diff --git a/src/cypher/result-window.class.ts b/src/cypher/result-window.class.ts index 3f83ec8..c28b309 100644 --- a/src/cypher/result-window.class.ts +++ b/src/cypher/result-window.class.ts @@ -22,8 +22,6 @@ export default class ResultWindow { ViewColumn.Two, { retainContextWhenHidden: true } ) - - this.run(method) } async run(method: Method) { @@ -52,7 +50,7 @@ export default class ResultWindow { this.panel.webview.html = getLoadingContent(this.cypher, params) // Run it - const res = await session[ method ]( + const res = await session[method]( tx => tx.run(this.cypher, params) )