use [protected] for protected notes in the export

This commit is contained in:
zadam
2022-01-08 21:50:16 +01:00
parent b90ba3d1a9
commit d4d48f3834
5 changed files with 13 additions and 15 deletions

View File

@@ -54,7 +54,7 @@ function getNotesAndBranchesAndAttributes(noteIds) {
notes.push({
noteId: note.noteId,
title: note.isDecrypted ? note.title : '[protected]',
title: note.getTitleOrProtected(),
isProtected: note.isProtected,
type: note.type,
mime: note.mime