mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
put tabContext into frontend script API
This commit is contained in:
@@ -29,7 +29,7 @@ async function executeStartupBundles() {
|
||||
}
|
||||
}
|
||||
|
||||
async function executeRelationBundles(note, relationName) {
|
||||
async function executeRelationBundles(note, relationName, tabContext) {
|
||||
note.bundleCache = note.bundleCache || {};
|
||||
|
||||
if (!note.bundleCache[relationName]) {
|
||||
@@ -37,7 +37,7 @@ async function executeRelationBundles(note, relationName) {
|
||||
}
|
||||
|
||||
for (const bundle of note.bundleCache[relationName]) {
|
||||
await executeBundle(bundle, note);
|
||||
await executeBundle(bundle, note, tabContext);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user