mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
converting note properties to methods
This commit is contained in:
@@ -182,7 +182,7 @@ function searchFromRelation(note, relationName) {
|
||||
return [];
|
||||
}
|
||||
|
||||
if (!note.isContentAvailable) {
|
||||
if (!note.isContentAvailable()) {
|
||||
log.info(`Note ${scriptNote.noteId} is not available outside of protected session.`);
|
||||
|
||||
return [];
|
||||
|
||||
Reference in New Issue
Block a user