Skip to content

Commit

Permalink
fix public directory listing not working in browser (#6466)
Browse files Browse the repository at this point in the history
Fixes #6436
  • Loading branch information
kanagarajkm authored and kannappanr committed Sep 13, 2018
1 parent e3777b1 commit d99c397
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 25 deletions.
8 changes: 6 additions & 2 deletions browser/app/js/buckets/BucketList.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,12 @@ const mapDispatchToProps = dispatch => {
return {
fetchBuckets: () => dispatch(actionsBuckets.fetchBuckets()),
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)
57 changes: 34 additions & 23 deletions browser/ui-assets.go

Large diffs are not rendered by default.

0 comments on commit d99c397

Please sign in to comment.