mirror of
https://github.com/kyantech/Palmr.git
synced 2025-10-23 06:11:58 +00:00
fix: drag-and-drop file upload to save in correct directory (#288)
This commit is contained in:
@@ -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} />}
|
||||
|
Reference in New Issue
Block a user