new import dialog

This commit is contained in:
zadam
2019-02-10 14:33:13 +01:00
parent 1e1d78999e
commit 45ddfef30a
8 changed files with 79 additions and 26 deletions

View File

@@ -33,11 +33,6 @@ async function importTar(fileBuffer, importRootNote) {
return "";
}
// we allow references to root and they don't need translation
if (origNoteId === 'root') {
return origNoteId;
}
if (!noteIdMap[origNoteId]) {
noteIdMap[origNoteId] = utils.newEntityId();
}