mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 10:55:55 +01:00
import fixes
This commit is contained in:
@@ -7,7 +7,7 @@ const zipImportService = require('../../services/import/zip');
|
||||
const singleImportService = require('../../services/import/single');
|
||||
const cls = require('../../services/cls');
|
||||
const path = require('path');
|
||||
const noteCacheService = require('../../services/note_cache/note_cache.js');
|
||||
const noteCacheLoader = require('../../services/note_cache/note_cache_loader.js');
|
||||
const log = require('../../services/log');
|
||||
const TaskContext = require('../../services/task_context.js');
|
||||
|
||||
@@ -77,7 +77,7 @@ async function importToBranch(req) {
|
||||
// import has deactivated note events so note cache is not updated
|
||||
// instead we force it to reload (can be async)
|
||||
|
||||
noteCacheService.load();
|
||||
noteCacheLoader.load();
|
||||
|
||||
return note;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user