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

Fixes #6436
This commit is contained in:
Kanagaraj M
2018-09-14 03:13:50 +05:30
committed by kannappanr
parent e3777b1dd9
commit d99c397746
2 changed files with 40 additions and 25 deletions

View File

@@ -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)