Skip to content

Commit 28fa0ae

Browse files
committed
fix(pagination): missing showFirstLast attribute when instanciating
1 parent 544ff5c commit 28fa0ae

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

widgets/pagination.js

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ var React = require('react');
22

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

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

88
var containerNode = utils.getContainerNode(container);
@@ -22,6 +22,7 @@ function pagination({container, cssClass, labels, maxPages} = {}) {
2222
setCurrentPage={helper.setCurrentPage.bind(helper)}
2323
cssClass={cssClass}
2424
labels={labels}
25+
showFirstLast={showFirstLast}
2526
/>,
2627
containerNode
2728
);

0 commit comments

Comments
 (0)