@tekkare/auriga 0.1.31 → 0.1.32

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/dist/module.json CHANGED
@@ -4,5 +4,5 @@
4
4
  "compatibility": {
5
5
  "nuxt": "^3.0.0"
6
6
  },
7
- "version": "0.1.31"
7
+ "version": "0.1.32"
8
8
  }
@@ -566,15 +566,16 @@ export default defineComponent({
566
566
  const finalTable = computed(() => {
567
567
  const sorted = sortedTable;
568
568
  if (props.fullTableScroll === true) {
569
- sorted.value;
569
+ return sorted.value;
570
+ } else {
571
+ return sorted.value.filter((row, index) => {
572
+ const start = (currentPage.value - 1) * savePageSize.value;
573
+ const end = currentPage.value * savePageSize.value;
574
+ if (index >= start && index < end)
575
+ return true;
576
+ return false;
577
+ });
570
578
  }
571
- return sorted.value.filter((row, index) => {
572
- const start = (currentPage.value - 1) * savePageSize.value;
573
- const end = currentPage.value * savePageSize.value;
574
- if (index >= start && index < end)
575
- return true;
576
- return false;
577
- });
578
579
  });
579
580
  const resultCount = computed(() => {
580
581
  return sortedTable.value.length;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tekkare/auriga",
3
- "version": "0.1.31",
3
+ "version": "0.1.32",
4
4
  "description": "Aurgia is a UI kit developped by Tekkare",
5
5
  "license": "MIT",
6
6
  "type": "module",