mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
use [protected] for protected notes in the export
This commit is contained in:
@@ -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
|
||||
]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user