mirror of
https://github.com/ascribe/onion.git
synced 2025-01-05 11:25:09 +01:00
bug fix loadPiece
This commit is contained in:
parent
3b27238adf
commit
0be6b7f118
@ -30,7 +30,6 @@ let FurtherDetailsFileuploader = React.createClass({
|
|||||||
},
|
},
|
||||||
|
|
||||||
render() {
|
render() {
|
||||||
console.log(this.props)
|
|
||||||
// Essentially there a three cases important to the fileuploader
|
// Essentially there a three cases important to the fileuploader
|
||||||
//
|
//
|
||||||
// 1. there is no other_data => do not show the fileuploader at all
|
// 1. there is no other_data => do not show the fileuploader at all
|
||||||
|
@ -160,7 +160,7 @@ let PieceContainer = React.createClass({
|
|||||||
pieceOrEditions={ this.state.piece }
|
pieceOrEditions={ this.state.piece }
|
||||||
requestAction={this.state.piece.request_action}
|
requestAction={this.state.piece.request_action}
|
||||||
requestUser={this.state.piece.user_registered}
|
requestUser={this.state.piece.user_registered}
|
||||||
handleSuccess={this.showNotification}/>);
|
handleSuccess={this.loadPiece}/>);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
return (
|
return (
|
||||||
|
Loading…
Reference in New Issue
Block a user