fix: exclude deleted notes from network to avoid exception
This commit is contained in:
parent
dc7dcbf046
commit
1df82354e3
1 changed files with 1 additions and 0 deletions
1
main.js
1
main.js
|
|
@ -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));
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue