fix bug when saving non-text notes

This commit is contained in:
azivner
2018-11-19 23:11:36 +01:00
parent 50401954d1
commit 585398ad5c
2 changed files with 11 additions and 1 deletions

View File

@@ -219,7 +219,7 @@ function findRelationMapLinks(content, foundLinks) {
async function saveLinks(note, content) {
if (note.type !== 'text' && note.type !== 'relation-map') {
return;
return content;
}
const foundLinks = [];