note map fixes

This commit is contained in:
zadam
2022-11-06 14:38:41 +01:00
parent 1d8b02055e
commit f1eaa20e47
3 changed files with 6 additions and 1 deletions

View File

@@ -866,6 +866,11 @@ class Note extends AbstractEntity {
}
function addSubtreeNotesInner(note, parentNote = null) {
// share can be removed after 0.57 since it will be put under hidden
if (note.noteId === 'hidden' || note.noteId === 'share') {
return;
}
if (parentNote) {
// this needs to happen first before noteSet check to include all clone relationships
relationships.push({