mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 05:15:59 +01:00
fixed frontend script execution
This commit is contained in:
@@ -31,7 +31,7 @@ function ScriptContext(dataKey, startNote, allNotes) {
|
||||
};
|
||||
|
||||
this.getNotesWithAttribute = async function (attrName, attrValue) {
|
||||
return await attributes.getNotesWithAttribute(dataKey, attrName, attrValue);
|
||||
return await attributes.getNotesWithAttribute(repository, attrName, attrValue);
|
||||
};
|
||||
|
||||
this.getNoteWithAttribute = async function (attrName, attrValue) {
|
||||
|
||||
Reference in New Issue
Block a user