mirror of
https://github.com/zadam/trilium.git
synced 2025-10-28 08:46:43 +01:00
converting note properties to methods
This commit is contained in:
@@ -475,7 +475,7 @@ function saveNoteRevision(note) {
|
||||
function updateNote(noteId, noteUpdates) {
|
||||
const note = becca.getNote(noteId);
|
||||
|
||||
if (!note.isContentAvailable) {
|
||||
if (!note.isContentAvailable()) {
|
||||
throw new Error(`Note ${noteId} is not available for change!`);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user