diff --git a/src/sharedFunctions.ts b/src/sharedFunctions.ts index 69905db2..e0b003d7 100644 --- a/src/sharedFunctions.ts +++ b/src/sharedFunctions.ts @@ -214,7 +214,7 @@ export async function getNeighbourObjArr( splitAndTrim(childFieldName), ]; - let jugglLinks: JugglLink[]; + let jugglLinks: JugglLink[] = []; if (plugin.app.plugins.plugins.juggl !== undefined) { jugglLinks = await getJugglLinks(plugin.app, plugin.settings); }