fix: exclude deleted notes from network to avoid exception

This commit is contained in:
quenousimporte 2023-10-26 10:13:33 +02:00
parent dc7dcbf046
commit 1df82354e3
1 changed files with 1 additions and 0 deletions

View File

@ -580,6 +580,7 @@ function children(note)
return (note.content
.match(/\[\[([^\]]*)\]\]/g) || [])
.map(l => l.replace("[[", "").replace("]]", ""))
.filter(l => !l.includes("(deleted)"))
.map(l => getnote(l));
}