@quandis/qbo4.ui 4.0.1-CI-20250106-195358 → 4.0.1-CI-20250106-202740

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.
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "author": "Quandis, Inc.",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
- "version": "4.0.1-CI-20250106-195358",
6
+ "version": "4.0.1-CI-20250106-202740",
7
7
  "workspaces": [
8
8
  "code"
9
9
  ],
@@ -30,7 +30,7 @@ let QboPaginate = class QboPaginate extends LitElement {
30
30
  ]; }
31
31
  // Go to a specific page
32
32
  goToPage(page) {
33
- if (page != this.currentPage && page >= this.currentPage && page <= this.maxPage) {
33
+ if (page != this.currentPage && page > 0 && page <= this.maxPage) {
34
34
  this.currentPage = page;
35
35
  this.dispatchEvent(new CustomEvent('change', {
36
36
  detail: { start: (page - 1) * this.display, display: this.display, page: page },
@@ -36,7 +36,7 @@ export class QboPaginate extends LitElement {
36
36
 
37
37
  // Go to a specific page
38
38
  goToPage(page) {
39
- if (page != this.currentPage && page >= this.currentPage && page <= this.maxPage) {
39
+ if (page != this.currentPage && page > 0 && page <= this.maxPage) {
40
40
  this.currentPage = page;
41
41
 
42
42
  this.dispatchEvent(