From dffcbc1191ca77e1b2b68120eed19abc09184f0d Mon Sep 17 00:00:00 2001 From: vrde Date: Tue, 14 Jul 2015 18:54:47 +0200 Subject: [PATCH] Restore toolbar --- js/components/piece_list.js | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) 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()} +