Skip to content

Commit

Permalink
fix(pagination): missing showFirstLast attribute when instanciating
Browse files Browse the repository at this point in the history
  • Loading branch information
maxiloc committed Sep 21, 2015
1 parent 544ff5c commit 28fa0ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion widgets/pagination.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ var React = require('react');

var utils = require('../lib/utils.js');

function pagination({container, cssClass, labels, maxPages} = {}) {
function pagination({container, cssClass, labels, maxPages, showFirstLast} = {}) {
var Pagination = require('../components/Pagination/Pagination.js');

var containerNode = utils.getContainerNode(container);
Expand All @@ -22,6 +22,7 @@ function pagination({container, cssClass, labels, maxPages} = {}) {
setCurrentPage={helper.setCurrentPage.bind(helper)}
cssClass={cssClass}
labels={labels}
showFirstLast={showFirstLast}
/>,
containerNode
);
Expand Down

0 comments on commit 28fa0ae

Please sign in to comment.