Skip to content

Commit a3551da

Browse files
authored
fix: Duplicate second row (#36)
1 parent b8447e8 commit a3551da

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

lib/clients/DataTable.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ export class DataTable extends MosaicClient {
7878
/** number of rows to fetch */
7979
#limit: number = 100;
8080
/** whether an internal request is pending */
81-
#pendingInternalRequest: boolean = false;
81+
#pendingInternalRequest: boolean = true;
8282
/** number of rows to display */
8383
#rows: number = 11.5;
8484
/** height of a row */
@@ -98,7 +98,6 @@ export class DataTable extends MosaicClient {
9898
constructor(source: DataTableOptions) {
9999
super(Selection.crossfilter());
100100
this.#format = formatof(source.schema);
101-
this.#pendingInternalRequest = false;
102101
this.#meta = source;
103102

104103
let maxHeight = `${(this.#rows + 1) * this.#rowHeight - 1}px`;

requirements-dev.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# all-features: false
88
# with-sources: false
99
# generate-hashes: false
10+
# universal: false
1011

1112
-e file:.
1213
anyio==4.4.0

requirements.lock

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
# all-features: false
88
# with-sources: false
99
# generate-hashes: false
10+
# universal: false
1011

1112
-e file:.
1213
anywidget==0.9.12

0 commit comments

Comments
 (0)