1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-23 01:39:36 +01:00

plus submit button on piecelist

This commit is contained in:
diminator 2015-10-12 12:08:53 +02:00
parent 790bf595d9
commit c7122d9435

View File

@ -166,7 +166,13 @@ let PieceList = React.createClass({
orderBy={this.state.orderBy} orderBy={this.state.orderBy}
applyFilterBy={this.applyFilterBy} applyFilterBy={this.applyFilterBy}
applyOrderBy={this.applyOrderBy}> applyOrderBy={this.applyOrderBy}>
{this.props.customSubmitButton} {this.props.customSubmitButton ?
this.props.customSubmitButton :
<span className="icon-ascribe icon-ascribe-add">
<span className="path1"/>
<span className="path2"/>
</span>
}
</PieceListToolbar> </PieceListToolbar>
<PieceListBulkModal className="ascribe-piece-list-bulk-modal" /> <PieceListBulkModal className="ascribe-piece-list-bulk-modal" />
<PieceListFilterDisplay <PieceListFilterDisplay