mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 08:15:52 +01:00
Merge branch 'master' into next50
# Conflicts: # src/public/app/widgets/containers/root_container.js # src/services/app_info.js
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
|
||||
]);
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user