From 7490775a0dd834c087f291219092fb350be9705f Mon Sep 17 00:00:00 2001 From: Lucas Di Pentima Date: Wed, 15 Dec 2021 18:55:46 -0300 Subject: [PATCH] 18584: Fixes error when creating a collection with selected files. Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima --- src/store/collections/collection-partial-copy-actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/collections/collection-partial-copy-actions.ts b/src/store/collections/collection-partial-copy-actions.ts index 8c4cb379..9f478d74 100644 --- a/src/store/collections/collection-partial-copy-actions.ts +++ b/src/store/collections/collection-partial-copy-actions.ts @@ -67,7 +67,7 @@ export const copyCollectionPartial = ({ name, description, projectUuid }: Collec return !paths.find(path => path.indexOf(file.replace(newCollection.uuid, '')) > -1); }); await services.collectionService.deleteFiles( - '', + newCollection.uuid, filesToDelete ); dispatch(dialogActions.CLOSE_DIALOG({ id: COLLECTION_PARTIAL_COPY_FORM_NAME })); -- 2.30.2