1
0
mirror of https://github.com/ascribe/onion.git synced 2024-12-22 09:23:13 +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}
applyFilterBy={this.applyFilterBy}
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>
<PieceListBulkModal className="ascribe-piece-list-bulk-modal" />
<PieceListFilterDisplay