diff --git a/packages/datalib/src/PerspectiveDisplay.ts b/packages/datalib/src/PerspectiveDisplay.ts index 70249dc77..b10f31557 100644 --- a/packages/datalib/src/PerspectiveDisplay.ts +++ b/packages/datalib/src/PerspectiveDisplay.ts @@ -76,7 +76,6 @@ export class PerspectiveDisplayRow { rowCellSkips: boolean[] = null; rowJoinIds: number[] = []; - // incompleteRowsIndicator: string[] = null; } export class PerspectiveDisplay { diff --git a/packages/web/src/perspectives/PerspectiveIntersectionObserver.svelte b/packages/web/src/perspectives/PerspectiveIntersectionObserver.svelte deleted file mode 100644 index 06ae0d4e3..000000000 --- a/packages/web/src/perspectives/PerspectiveIntersectionObserver.svelte +++ /dev/null @@ -1,34 +0,0 @@ - - -
... data to be loaded {incompleteRowsIndicator.join(',')}
diff --git a/packages/web/src/perspectives/PerspectiveTable.svelte b/packages/web/src/perspectives/PerspectiveTable.svelte index 7ddfca544..c6909aa66 100644 --- a/packages/web/src/perspectives/PerspectiveTable.svelte +++ b/packages/web/src/perspectives/PerspectiveTable.svelte @@ -16,7 +16,6 @@ import _, { values } from 'lodash'; import { onMount, tick } from 'svelte'; import resizeObserver from '../utility/resizeObserver'; - import PerspectiveIntersectionObserver from './PerspectiveIntersectionObserver.svelte'; import debug from 'debug'; import contextMenu from '../utility/contextMenu'; import DataFilterControl from '../datagrid/DataFilterControl.svelte'; @@ -257,34 +256,15 @@ {#each display.rows as row} - {#if row.incompleteRowsIndicator} - { - dbg('load next', row.incompleteRowsIndicator); - loadedCounts.update(counts => { - const res = { ...counts }; - for (const id of row.incompleteRowsIndicator) { - res[id] = (res[id] || PERSPECTIVE_PAGE_SIZE) + PERSPECTIVE_PAGE_SIZE; - } - return res; - }); - }} - /> - {:else} - {#each display.columns as column} - {#if !row.rowCellSkips[column.columnIndex]} - - {/if} - {/each} - {/if} + {#each display.columns as column} + {#if !row.rowCellSkips[column.columnIndex]} + + {/if} + {/each} {/each}