info-library 2.14.5 → 2.14.6
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.
|
@@ -5804,7 +5804,7 @@ class InfoGridComponent {
|
|
|
5804
5804
|
this.overIndex--;
|
|
5805
5805
|
if (this.overIndex < 0)
|
|
5806
5806
|
this.paginator.previous().subscribe(r => {
|
|
5807
|
-
this.overIndex = r == null ? 0 : r.numberItensPage;
|
|
5807
|
+
this.overIndex = r == null ? 0 : (r.numberItensPage - 1);
|
|
5808
5808
|
});
|
|
5809
5809
|
}
|
|
5810
5810
|
shortcutNavigateUp(e) {
|
|
@@ -5812,7 +5812,7 @@ class InfoGridComponent {
|
|
|
5812
5812
|
this.overIndex++;
|
|
5813
5813
|
if (this.overIndex >= this.paginator.numberItensPage)
|
|
5814
5814
|
this.paginator.next().subscribe(r => {
|
|
5815
|
-
this.overIndex = r == null ? this.paginator.numberItensPage : 0;
|
|
5815
|
+
this.overIndex = r == null ? (this.paginator.numberItensPage - 1) : 0;
|
|
5816
5816
|
});
|
|
5817
5817
|
}
|
|
5818
5818
|
shortcutPagePrevious(e) {
|