diff --git a/src/lib/components/chat/FileNav.svelte b/src/lib/components/chat/FileNav.svelte index e2d9aed0af..a81c3a3785 100644 --- a/src/lib/components/chat/FileNav.svelte +++ b/src/lib/components/chat/FileNav.svelte @@ -1441,8 +1441,7 @@ showFileNavDir.set(null); filePath = normalizePath(filePath); if (!isInsideFileRoot(filePath)) { - await loadDir(fileRoot?.path ?? '/'); - return; + filePath = fileRoot?.path ?? '/'; } const lastSlash = filePath.lastIndexOf('/');