From 3f6722e0a5899325adc902f9a151a44a316878b2 Mon Sep 17 00:00:00 2001 From: Joshua Horton Date: Mon, 20 Apr 2026 16:40:37 -0500 Subject: [PATCH] fix(web): constructor should also remap spaceId --- .../worker-thread/src/main/correction/search-quotient-cluster.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/engine/predictive-text/worker-thread/src/main/correction/search-quotient-cluster.ts b/web/src/engine/predictive-text/worker-thread/src/main/correction/search-quotient-cluster.ts index d0eee7824d..b622dc2aa7 100644 --- a/web/src/engine/predictive-text/worker-thread/src/main/correction/search-quotient-cluster.ts +++ b/web/src/engine/predictive-text/worker-thread/src/main/correction/search-quotient-cluster.ts @@ -87,6 +87,7 @@ export class SearchQuotientCluster implements SearchQuotientNode { this.lowestPossibleSingleCost = lowestPossibleSingleCost; this.completedPaths = inboundPaths.flatMap(p => p.previousResults).map(r => r.node); + this.completedPaths.forEach((p) => p.spaceId = this.spaceId); this.selectionQueue.enqueueAll(inboundPaths); return;