From 9a01469d8a733793197e52846db74b0fb3e0ae30 Mon Sep 17 00:00:00 2001 From: Momentry Studio Date: Sun, 1 Nov 2026 14:40:57 +0800 Subject: [PATCH] Revert "fix: always load cluster names from trace profiles (DB)" This reverts commit 52c3e721672a53c9ed962f95a59269b4bce826a6. --- src/store.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/store.ts b/src/store.ts index 0860494..8c85629 100644 --- a/src/store.ts +++ b/src/store.ts @@ -335,8 +335,7 @@ export async function pollClusterResults(fileUuid: string, onDone?: (results: an export async function loadClusterNames(fileUuid: string, clusters: any[]) { console.log('[loadClusterNames] loading names for', clusters.length, 'clusters') const promises = clusters.map(async (c) => { - // Always load name from trace profile (DB is source of truth) - // "Person_X" names from clustering are also replaced with DB names + // Always load name from trace profile (DB is source of truth for custom names) const repTid = c.representative_trace !== undefined && c.representative_trace !== null ? c.representative_trace : c.trace_ids?.[0] if (repTid != null) { try {