Update styleFunctions.ts

This commit is contained in:
Lost Paul 2024-12-27 14:12:23 +01:00
parent c1e7567a6e
commit cc830920dd

View file

@ -146,7 +146,6 @@ export function getEl(path: string, plugin: FolderNotesPlugin): HTMLElement | nu
const fileExplorer = getFileExplorer(plugin);
if (!fileExplorer) { return null; }
if (!fileExplorer.view) { return null; }
console.log(fileExplorer.view);
if (!fileExplorer.view.fileItems) { return null; }
const fileExplorerItem = fileExplorer.view.fileItems[path];
if (!fileExplorerItem) { return null; }