Don't download all documents when initial sync gets interrupted

This commit is contained in:
Andras Schmelczer 2025-11-27 21:52:05 +00:00
parent 476588a63b
commit c10b6435d4
2 changed files with 6 additions and 2 deletions

View file

@ -28,8 +28,8 @@ export class CoveredValues {
this.advanceMinWhilePossible();
}
public add(value: number): void {
if (value < this.minValue) {
public add(value: number | undefined): void {
if (value === undefined || value < this.minValue) {
return;
}