mirror of
https://github.com/zadam/trilium.git
synced 2025-11-04 20:36:13 +01:00
import doesn't need a full tree reload
This commit is contained in:
@@ -98,7 +98,7 @@ async function uploadFiles(importNoteId, files, options) {
|
||||
|
||||
infoService.showMessage("Import finished successfully.");
|
||||
|
||||
await treeService.reload();
|
||||
await treeService.reloadNote(importNoteId);
|
||||
|
||||
if (noteId) {
|
||||
const node = await treeService.activateNote(noteId);
|
||||
|
||||
Reference in New Issue
Block a user