From 15a67a14b363d59c182c14adf9cee11a4a90fe96 Mon Sep 17 00:00:00 2001 From: Linus Rath <139418639+rathlinus@users.noreply.github.com> Date: Thu, 21 May 2026 17:27:49 +0200 Subject: [PATCH] fix: parent dir navigation jumping to root in file browser --- components/files/file-browser.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) => {