note map refactoring

This commit is contained in:
zadam
2021-09-20 22:19:47 +02:00
parent 9c9a3fc030
commit e4ba7d65e8
8 changed files with 31 additions and 32 deletions

View File

@@ -148,7 +148,7 @@ function getGlobalTreeMap() {
const noteIds = new Set();
const notes = Object.values(becca.notes)
.filter(note => !note.isArchived)
.filter(note => !note.isArchived && !note.hasLabel('excludeFromTreeMap'))
.map(note => [
note.noteId,
note.isContentAvailable() ? note.title : '[protected]',