feat: allow custom headline in note

This commit is contained in:
thecodrr
2021-04-06 11:05:01 +05:00
parent f607eedbfa
commit 5e61fb933f

View File

@@ -282,7 +282,7 @@ function isNoteEmpty(note, content) {
function getNoteHeadline(note, content) { function getNoteHeadline(note, content) {
if (note.locked) return ""; if (note.locked) return "";
return content.toHeadline(); return note.headline || content.toHeadline();
} }
function getNoteTitle(note, content) { function getNoteTitle(note, content) {