From c31b1e6d6d213bbae060d1111e3831c728433466 Mon Sep 17 00:00:00 2001 From: Daniel Kos Date: Tue, 20 Nov 2018 00:29:03 +0100 Subject: [PATCH] Fix removing collection files Bug #14310 Arvados-DCO-1.1-Signed-off-by: Daniel Kos --- .../collection-panel-files/collection-panel-files-actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts b/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts index 6ee5ca0d..3f82d29e 100644 --- a/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts +++ b/src/store/collection-panel/collection-panel-files/collection-panel-files-actions.ts @@ -39,7 +39,7 @@ export const removeCollectionFiles = (filePaths: string[]) => if (currentCollection) { dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Removing...' })); try { - await services.collectionService.deleteFiles(currentCollection.uuid, filePaths); + await services.collectionService.deleteFiles('', filePaths); dispatch(loadCollectionFiles(currentCollection.uuid)); dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Removed.', hideDuration: 2000 })); } catch (e) { -- 2.30.2