@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
|
@@ -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;
|