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:
@@ -26,7 +26,7 @@ export default class SqlResultWidget extends NoteContextAwareWidget {
|
||||
}
|
||||
|
||||
async sqlQueryResultsEvent({ntxId, results}) {
|
||||
if (!this.isTab(ntxId)) {
|
||||
if (!this.isNoteContext(ntxId)) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user