mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
changed import progress notification so it shows up for drag & drop as well
This commit is contained in:
@@ -116,11 +116,7 @@ async function importTar(importContext, fileBuffer, importRootNote) {
|
||||
function getNoteId(noteMeta, filePath) {
|
||||
const filePathNoExt = getTextFileWithoutExtension(filePath);
|
||||
|
||||
console.log(`Searching for noteId of filePath ${filePath} with meta: ${!!noteMeta}`);
|
||||
|
||||
if (filePathNoExt in createdPaths) {
|
||||
console.log("Found existing path", filePathNoExt, createdPaths[filePathNoExt]);
|
||||
|
||||
return createdPaths[filePathNoExt];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user