ab-ui-library 1.3.2 → 1.3.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -135,7 +135,7 @@ function AdvancedPagination(_ref) {
135
135
  visiblePages.push(1);
136
136
  if (currentPage <= 3) {
137
137
  visiblePages.push(2, 3, 4, 5, '...', totalPages);
138
- } else if (currentPage >= totalPages - 5) {
138
+ } else if (currentPage > totalPages - 5) {
139
139
  visiblePages.push('...', totalPages - 4, totalPages - 3, totalPages - 2, totalPages - 1, totalPages);
140
140
  } else {
141
141
  visiblePages.push('...', currentPage, currentPage + 1, currentPage + 2, '...', totalPages);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ab-ui-library",
3
- "version": "1.3.2",
3
+ "version": "1.3.3",
4
4
  "description": "UI library for AM",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",