From febaf158c2ef0df38271b2dbc182c7bfe4b8d161 Mon Sep 17 00:00:00 2001 From: bernardhanna Date: Mon, 30 Mar 2026 16:59:50 +0100 Subject: [PATCH] qc edits --- app/Nova/Actions/BulkUploadMediaFiles.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/Nova/Actions/BulkUploadMediaFiles.php b/app/Nova/Actions/BulkUploadMediaFiles.php index 5c0a8c075..e4d3c6de9 100644 --- a/app/Nova/Actions/BulkUploadMediaFiles.php +++ b/app/Nova/Actions/BulkUploadMediaFiles.php @@ -210,8 +210,9 @@ protected function storeFile(UploadedFile|string $file, string $destination, str $stored = Storage::disk('resources')->put($targetPath, $contents, 'public'); } - // Clean temporary Filepond directory. - $data->deleteDirectory(); + // Clean only this temp file. Deleting the whole directory can remove + // sibling files from the same multi-upload batch. + $data->deleteFile(); return $stored ? $targetPath : null; }