mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
fix(build-docs): error due to becca not loading
This commit is contained in:
@@ -72,8 +72,7 @@ export async function importData(path: string) {
|
||||
const importService = (await import("../../server/src/services/import/zip.js")).default;
|
||||
const TaskContext = (await import("../../server/src/services/task_context.js")).default;
|
||||
const context = new TaskContext("no-progress-reporting", "importNotes", null);
|
||||
const beccaLoader = (await import("../../server/src/becca/becca_loader.js")).default;
|
||||
const becca = beccaLoader.becca;
|
||||
const becca = (await import("../../server/src/becca/becca.js")).default;
|
||||
|
||||
const rootNote = becca.getRoot();
|
||||
if (!rootNote) {
|
||||
|
||||
@@ -293,6 +293,5 @@ eventService.subscribeBeccaLoader(eventService.LEAVE_PROTECTED_SESSION, load);
|
||||
export default {
|
||||
load,
|
||||
reload,
|
||||
beccaLoaded,
|
||||
becca
|
||||
beccaLoaded
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user