diff --git a/src/routes/api/tree.js b/src/routes/api/tree.js index b9cb69b35..fc8cf419d 100644 --- a/src/routes/api/tree.js +++ b/src/routes/api/tree.js @@ -53,7 +53,7 @@ function getNotesAndBranchesAndAttributes(noteIds) { notes.push({ noteId: note.noteId, - title: note.title, + title: note.isDecrypted ? note.title : '[protected]', isProtected: note.isProtected, type: note.type, mime: note.mime