importing a note now creates internal link relations

This commit is contained in:
zadam
2019-09-01 20:35:55 +02:00
parent 1e50d88166
commit c614bc3263
3 changed files with 25 additions and 3 deletions

View File

@@ -429,7 +429,11 @@ async function importTar(importContext, fileBuffer, importRootNote) {
const createdNoteIds = {};
for (const path in createdPaths) {
createdNoteIds[createdPaths[path]] = true;
const noteId = createdPaths[path];
createdNoteIds[noteId] = true;
await noteService.scanForLinks(noteId);
}
// we're saving attributes and links only now so that all relation and link target notes