From d810592bf25677cd4600773eb57c7e753598ad7f Mon Sep 17 00:00:00 2001 From: Kelly Date: Sat, 13 Dec 2025 18:08:41 -0700 Subject: [PATCH] fix(ui): Show city from fingerprint data in worker dashboard MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit City was captured in preflight fingerprint JSON but not displayed. Now falls back to fingerprint.detectedLocation.city if current_city is null. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 --- cannaiq/src/pages/WorkersDashboard.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cannaiq/src/pages/WorkersDashboard.tsx b/cannaiq/src/pages/WorkersDashboard.tsx index 85bcf19b..a2e0841e 100644 --- a/cannaiq/src/pages/WorkersDashboard.tsx +++ b/cannaiq/src/pages/WorkersDashboard.tsx @@ -343,7 +343,8 @@ function PreflightSummary({ worker }: { worker: Worker }) { const httpError = worker.preflight_http_error; const httpMs = worker.preflight_http_ms; const geoState = worker.current_state; - const geoCity = worker.current_city; + // City from current_city column, or fallback to fingerprint detected location + const geoCity = worker.current_city || fingerprint?.detectedLocation?.city; // Build detailed tooltip const tooltipLines: string[] = [];