fix: drag-and-drop file upload to save in correct directory (#288)

This commit is contained in:
Copilot
2025-10-20 10:31:30 -03:00
committed by GitHub
parent 0d7f9ca2b3
commit c798c1bb1d

View File

@@ -114,7 +114,10 @@ export default function FilesPage() {
return (
<ProtectedRoute>
<GlobalDropZone onSuccess={loadFiles}>
<GlobalDropZone
onSuccess={loadFiles}
currentFolderId={currentPath.length > 0 ? currentPath[currentPath.length - 1].id : null}
>
<FileManagerLayout
breadcrumbLabel={t("files.breadcrumb")}
icon={<IconFolderOpen size={20} />}