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

@@ -98,7 +98,7 @@ function getLinkMap(req) {
return [
note.noteId,
note.isContentAvailable() ? note.title : '[protected]',
note.getTitleOrProtected(),
note.type
];
});
@@ -158,7 +158,7 @@ function getTreeMap(req) {
.concat(...mapRootNote.getParentNotes())
.map(note => [
note.noteId,
note.isContentAvailable() ? note.title : '[protected]',
note.getTitleOrProtected(),
note.type
]);