From 0058d1ff31fc4dbbd766a9a8a39a64d5f2c9e4b2 Mon Sep 17 00:00:00 2001 From: Zef Hemel Date: Thu, 5 Feb 2026 09:05:22 +0100 Subject: [PATCH] Handle edge case where index version is > than desired (should still consider the initial index to be completed) --- client/data/object_index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/data/object_index.ts b/client/data/object_index.ts index f9b7a16a..53fb3eee 100644 --- a/client/data/object_index.ts +++ b/client/data/object_index.ts @@ -186,7 +186,7 @@ export class ObjectIndex { } public async hasInitialIndexCompleted() { - return (await this.ds.get(indexVersionKey)) === desiredIndexVersion; + return (await this.ds.get(indexVersionKey)) >= desiredIndexVersion; } private getCurrentIndexVersion() {