[ARVADOS-WORKBENCH2] updated: 1.2.0-915-gc31b1e6

Git user git at public.curoverse.com
Mon Nov 19 18:29:10 EST 2018


Summary of changes:
 .../collection-panel-files/collection-panel-files-actions.ts            | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  c31b1e6d6d213bbae060d1111e3831c728433466 (commit)
      from  2de62809f717c64091505a01961b517ee6ccc9d4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit c31b1e6d6d213bbae060d1111e3831c728433466
Author: Daniel Kos <daniel.kos at contractors.roche.com>
Date:   Tue Nov 20 00:29:03 2018 +0100

    Fix removing collection files
    
    Bug #14310
    
    Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos at contractors.roche.com>

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 6ee5ca0..3f82d29 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<any>(loadCollectionFiles(currentCollection.uuid));
                 dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Removed.', hideDuration: 2000 }));
             } catch (e) {

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list