using included note should create a relation, closes #820

This commit is contained in:
zadam
2020-01-10 21:41:00 +01:00
parent 67bdffb27b
commit 759e47bfcf
3 changed files with 18 additions and 3 deletions

View File

@@ -147,7 +147,7 @@ async function importTar(taskContext, fileBuffer, importRootNote) {
continue;
}
if (attr.type === 'relation' && ['internalLink', 'imageLink', 'relationMapLink'].includes(attr.name)) {
if (attr.type === 'relation' && ['internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink'].includes(attr.name)) {
// these relations are created automatically and as such don't need to be duplicated in the import
continue;
}