Bug #14310
Arvados-DCO-1.1-Signed-off-by: Daniel Kos <daniel.kos@contractors.roche.com>
if (currentCollection) {
dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Removing...' }));
try {
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) {
dispatch<any>(loadCollectionFiles(currentCollection.uuid));
dispatch(snackbarActions.OPEN_SNACKBAR({ message: 'Removed.', hideDuration: 2000 }));
} catch (e) {