Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

fix: headline is not updated when content changes

thecodrr6bebf07913f7
diff --git a/packages/core/collections/notes.js b/packages/core/collections/notes.js
index e75085f43..679fb3971 100644
--- a/packages/core/collections/notes.js
+++ b/packages/core/collections/notes.js
@@ -282,7 +282,7 @@ function isNoteEmpty(note, content) {
function getNoteHeadline(note, content) {
if (note.locked) return "";
- return note.headline || content.toHeadline();
+ return content.toHeadline();
}
function getNoteTitle(note, content) {