From 4e5a9f6466414f94c4a69c3be4af306d3e386230 Mon Sep 17 00:00:00 2001 From: jtricerolph Date: Tue, 7 Jul 2026 13:11:17 +0000 Subject: [PATCH] AdminSettings: show team names in location dropdown Co-Authored-By: Claude Sonnet 4.6 --- src/pages/AdminSettings.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pages/AdminSettings.tsx b/src/pages/AdminSettings.tsx index 76ffdab..dd52f7c 100644 --- a/src/pages/AdminSettings.tsx +++ b/src/pages/AdminSettings.tsx @@ -108,7 +108,7 @@ function IntegrationCard({ integration, onSaved }: { integration: Integration; o const [testing, setTesting] = useState(false) const [testResult, setTestResult] = useState<{ ok: boolean; error?: string } | null>(null) const [enabled, setEnabled] = useState(integration.enabled) - const [wfLocations, setWfLocations] = useState<{ id: string; name: string; short_name: string | null }[]>([]) + const [wfLocations, setWfLocations] = useState<{ id: string; name: string; team_names: string[] }[]>([]) const [fetchingLocs, setFetchingLocs] = useState(false) const [locError, setLocError] = useState(null) @@ -203,7 +203,7 @@ function IntegrationCard({ integration, onSaved }: { integration: Integration; o {wfLocations.map(l => ( ))} {wfLocations.length === 0 && form[k] && (