Don't download all documents when initial sync gets interrupted
This commit is contained in:
parent
170183e308
commit
159c4704de
1 changed files with 6 additions and 2 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue