From feb100f88e82701ea4eb2bd3f9836743224d6811 Mon Sep 17 00:00:00 2001 From: Crash-- Date: Fri, 1 Dec 2023 16:10:38 +0100 Subject: [PATCH] fix: Can create folder in a shared folder We didn't pass the currentFolderId to the FolderViewBody from the Sharing View. So we had currentFolderId undefined and then when we create a folder in a shared folder, from the SharingsView, then we make a request to POST `/files/undefined` --- src/drive/web/modules/views/Sharings/SharingsFolderView.jsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/drive/web/modules/views/Sharings/SharingsFolderView.jsx b/src/drive/web/modules/views/Sharings/SharingsFolderView.jsx index bd69e62d57..9c14027d27 100644 --- a/src/drive/web/modules/views/Sharings/SharingsFolderView.jsx +++ b/src/drive/web/modules/views/Sharings/SharingsFolderView.jsx @@ -144,6 +144,7 @@ const SharingsFolderView = ({ sharedDocumentIds }) => { queryResults={[foldersResult, filesResult]} canSort extraColumns={extraColumns} + currentFolderId={currentFolderId} />