Skip to content

Commit

Permalink
Fix all table rows showing on page 1 for paginated table examples (#479)
Browse files Browse the repository at this point in the history
  • Loading branch information
jen-huang authored Mar 8, 2018
1 parent b3dd10b commit 3787c70
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src-docs/src/views/tables/data_store.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ export const createDataStore = () => {

let pageOfItems;

if (!pageIndex) {
if (!pageIndex && !pageSize) {
pageOfItems = items;
} else {
const startIndex = pageIndex * pageSize;
Expand Down

0 comments on commit 3787c70

Please sign in to comment.