mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
importing a note now creates internal link relations
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user