fix public directory listing not working in browser (#6466)

Fixes #6436
master
Kanagaraj M 6 years ago committed by kannappanr
parent e3777b1dd9
commit d99c397746
  1. 8
      browser/app/js/buckets/BucketList.js
  2. 57
      browser/ui-assets.go

@ -67,8 +67,12 @@ const mapDispatchToProps = dispatch => {
return { return {
fetchBuckets: () => dispatch(actionsBuckets.fetchBuckets()), fetchBuckets: () => dispatch(actionsBuckets.fetchBuckets()),
setBucketList: buckets => dispatch(actionsBuckets.setList(buckets)), setBucketList: buckets => dispatch(actionsBuckets.setList(buckets)),
selectBucket: bucket => dispatch(actionsBuckets.selectBucket(bucket)) selectBucket: (bucket, prefix) =>
dispatch(actionsBuckets.selectBucket(bucket, prefix))
} }
} }
export default connect(mapStateToProps, mapDispatchToProps)(BucketList) export default connect(
mapStateToProps,
mapDispatchToProps
)(BucketList)

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save