mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
refactored TabContext => NoteContext
This commit is contained in:
@@ -25,8 +25,8 @@ export default class SqlResultWidget extends TabAwareWidget {
|
||||
this.$sqlConsoleResultContainer = this.$widget.find('.sql-console-result-container');
|
||||
}
|
||||
|
||||
async sqlQueryResultsEvent({tabId, results}) {
|
||||
if (!this.isTab(tabId)) {
|
||||
async sqlQueryResultsEvent({ntxId, results}) {
|
||||
if (!this.isTab(ntxId)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user