X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/6d1c41d6fd83824669cd1a6d714ea6da1ae7ab4c..9d1ff3299a57d0e820bf7975f0f3e6080b22f0a5:/services/workbench2/src/store/collections/collection-partial-copy-actions.ts diff --git a/services/workbench2/src/store/collections/collection-partial-copy-actions.ts b/services/workbench2/src/store/collections/collection-partial-copy-actions.ts index 4b3af2a2cd..a0933c64da 100644 --- a/services/workbench2/src/store/collections/collection-partial-copy-actions.ts +++ b/services/workbench2/src/store/collections/collection-partial-copy-actions.ts @@ -156,7 +156,13 @@ export const copyCollectionPartialToExistingCollection = (fileSelection: Collect dispatch(progressIndicatorActions.START_WORKING(COLLECTION_PARTIAL_COPY_TO_SELECTED_COLLECTION)); // Copy files - const updatedCollection = await services.collectionService.copyFiles(fileSelection.collection.portableDataHash, fileSelection.selectedPaths, {uuid: formData.destination.uuid}, formData.destination.path || '/', false); + const updatedCollection = await services.collectionService.copyFiles( + fileSelection.collection.portableDataHash, + fileSelection.selectedPaths, + {uuid: formData.destination.uuid}, + formData.destination.subpath || '/', + false + ); dispatch(updateResources([updatedCollection])); dispatch(dialogActions.CLOSE_DIALOG({ id: COLLECTION_PARTIAL_COPY_TO_SELECTED_COLLECTION }));