File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ const Pagination = React.createClass({
112
112
< PaginationButton
113
113
key = 'next'
114
114
eventKey = { this . props . activePage + 1 }
115
- disabled = { this . props . activePage == = this . props . items }
115
+ disabled = { this . props . activePage > = this . props . items }
116
116
onSelect = { this . props . onSelect } >
117
117
< span aria-label = 'Next' > ›</ span >
118
118
</ PaginationButton >
@@ -144,7 +144,7 @@ const Pagination = React.createClass({
144
144
< PaginationButton
145
145
key = 'last'
146
146
eventKey = { this . props . items }
147
- disabled = { this . props . activePage == = this . props . items }
147
+ disabled = { this . props . activePage > = this . props . items }
148
148
onSelect = { this . props . onSelect } >
149
149
< span aria-label = 'Last' > »</ span >
150
150
</ PaginationButton >
You can’t perform that action at this time.
0 commit comments