diff --git a/js/components/piece_list.js b/js/components/piece_list.js index e49c3097..da97d95a 100644 --- a/js/components/piece_list.js +++ b/js/components/piece_list.js @@ -62,16 +62,6 @@ let PieceList = React.createClass({ this.state.orderAsc); }, - getPieceListToolbar() { - if(this.state.pieceListCount > 10) { - return ( - - ); - } - }, - getPagination() { let currentPage = parseInt(this.getQuery().page, 10) || 1; let totalPages = Math.ceil(this.state.pieceListCount / this.state.pageSize); @@ -101,7 +91,9 @@ let PieceList = React.createClass({ return (
- {this.getPieceListToolbar()} +