mirror of
https://github.com/minio/minio.git
synced 2025-11-20 18:06:10 -05:00
Refactor make bucket and upload components (#5521)
This commit is contained in:
committed by
Harshavardhana
parent
9bfa07ecf5
commit
44f8f7059c
@@ -22,15 +22,6 @@ import * as actionsObjects from "./actions"
|
||||
import ObjectsList from "./ObjectsList"
|
||||
|
||||
export class ObjectsListContainer extends React.Component {
|
||||
componentWillReceiveProps(nextProps) {
|
||||
const { currentBucket, currentPrefix, loadObjects } = this.props
|
||||
if (
|
||||
currentBucket != nextProps.currentBucket ||
|
||||
currentPrefix != nextProps.currentPrefix
|
||||
) {
|
||||
loadObjects()
|
||||
}
|
||||
}
|
||||
render() {
|
||||
const { objects, isTruncated, currentBucket, loadObjects } = this.props
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user