From 3787c70de4a8bfe9bd69b3b76ff53db9ddf47567 Mon Sep 17 00:00:00 2001 From: Jen Huang Date: Thu, 8 Mar 2018 15:42:19 -0800 Subject: [PATCH] Fix all table rows showing on page 1 for paginated table examples (#479) --- src-docs/src/views/tables/data_store.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src-docs/src/views/tables/data_store.js b/src-docs/src/views/tables/data_store.js index c6d164757c6..8e2f8dfe212 100644 --- a/src-docs/src/views/tables/data_store.js +++ b/src-docs/src/views/tables/data_store.js @@ -64,7 +64,7 @@ export const createDataStore = () => { let pageOfItems; - if (!pageIndex) { + if (!pageIndex && !pageSize) { pageOfItems = items; } else { const startIndex = pageIndex * pageSize;