diff --git a/browser/app/js/components/Browse.js b/browser/app/js/components/Browse.js index 85550ccb6..585c027d4 100644 --- a/browser/app/js/components/Browse.js +++ b/browser/app/js/components/Browse.js @@ -227,7 +227,12 @@ export default class Browse extends React.Component { removeObject() { const {web, dispatch, currentPath, currentBucket, deleteConfirmation, checkedObjects} = this.props - let objects = checkedObjects.length > 0 ? checkedObjects : [deleteConfirmation.object] + let objects = [] + if (checkedObjects.length > 0) { + objects = checkedObjects.map(obj => `${currentPath}${obj}`) + } else { + objects = [deleteConfirmation.object] + } web.RemoveObject({ bucketname: currentBucket, @@ -721,7 +726,7 @@ export default class Browse extends React.Component {
- +
Days
@@ -732,10 +737,10 @@ export default class Browse extends React.Component { max={ 7 } defaultValue={ 5 } />
- +
- +
Hours
@@ -746,10 +751,10 @@ export default class Browse extends React.Component { max={ 23 } defaultValue={ 0 } />
- +
- +
Minutes
@@ -760,9 +765,9 @@ export default class Browse extends React.Component { max={ 59 } defaultValue={ 0 } />
- + - +