bruce-models 2.6.4 → 2.6.5

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.
@@ -7886,7 +7886,9 @@
7886
7886
  postedLoading = true;
7887
7887
  }
7888
7888
  // Only mark as fetched when ALL pages are done.
7889
- if (entities.length <= 0) {
7889
+ // Known issue where external sources may return less than page size.
7890
+ // Right now we're making it as fetched as we're siding with the majority use-case.
7891
+ if (entities.length <= 0 || entities.length < PAGE_SIZE) {
7890
7892
  curCell.Fetched = true;
7891
7893
  curCell.Fetching = false;
7892
7894
  (_d = this.onScanUpdate) === null || _d === void 0 ? void 0 : _d.Trigger(cells);