mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
exposed searchForNotes to backend script API
This commit is contained in:
@@ -102,7 +102,8 @@ class Note extends Entity {
|
||||
}
|
||||
|
||||
if (this.isStringNote()) {
|
||||
this.noteContent.content = this.noteContent.content.toString("UTF-8");
|
||||
this.noteContent.content = this.noteContent.content === null
|
||||
? "" : this.noteContent.content.toString("UTF-8");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user