diff --git a/components/files/file-browser.tsx b/components/files/file-browser.tsx index 1291c4a0..670ae1e9 100644 --- a/components/files/file-browser.tsx +++ b/components/files/file-browser.tsx @@ -458,7 +458,7 @@ export function FileBrowser({ const segments = currentPath.split('/').filter(Boolean); segments.pop(); const parentPath = segments.length === 0 ? '/' : '/' + segments.join('/'); - onNavigate(parentPath, null); + onNavigate(parentPath); }, [currentPath, onNavigate]); const handleResourceClick = (resource: FileResource, e: React.MouseEvent) => {