@lavalogic/scoria 0.11.8 → 0.11.9
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.
|
@@ -99,10 +99,6 @@ export class TableContext {
|
|
|
99
99
|
if (dataRepo.paginationType != PaginationType.Local) {
|
|
100
100
|
return sd ?? [];
|
|
101
101
|
}
|
|
102
|
-
if (dataRepo.pageEndIndexExclusive > sd.length - 1) {
|
|
103
|
-
console.error(`Data Repository reports more items than what exists: End index: ${dataRepo.pageEndIndexExclusive} sorted data:`, $state.snapshot(sd));
|
|
104
|
-
return null;
|
|
105
|
-
}
|
|
106
102
|
return sd.slice(dataRepo.pageStartIndex, dataRepo.pageEndIndexExclusive);
|
|
107
103
|
})();
|
|
108
104
|
const ori = new Map((dataRepo.data ?? []).map((item, index) => [item, index]));
|