Merge branch 'master' into next61

# Conflicts:
#	package-lock.json
#	package.json
#	src/public/app/entities/fnote.js
#	src/public/app/services/link.js
This commit is contained in:
zadam
2023-05-28 16:57:48 +02:00
6 changed files with 25 additions and 15 deletions

View File

@@ -357,7 +357,7 @@ class FNote {
return [['root']];
}
const parentNotes = this.getParentNotes();
const parentNotes = this.getParentNotes().filter(note => note.type !== 'search');
const notePaths = parentNotes.length === 1
? parentNotes[0].getAllNotePaths() // optimization for the most common case