Skip to content

Open-source agentic AI Search Execution Platform. Track AI visibility, find opportunities, and let agents turn signals into prioritized actions and drafted fixes across ChatGPT, Claude, Gemini, Google AI Overviews, Google AI Mode, Perplexity, Grok, and Microsoft Copilot.

fix(citations): show competitor name in select trigger instead of id (#344)

Patel Dhrit115b46c0ce92
diff --git a/web/src/app/[locale]/(dashboard)/dashboard/citations/page.tsx b/web/src/app/[locale]/(dashboard)/dashboard/citations/page.tsx
index c3b48d0ec..76dd7a40a 100644
--- a/web/src/app/[locale]/(dashboard)/dashboard/citations/page.tsx
+++ b/web/src/app/[locale]/(dashboard)/dashboard/citations/page.tsx
@@ -1020,7 +1020,9 @@ function ByCompetitorView({
}}
>
<SelectTrigger className="h-8 w-56 text-xs">
- <SelectValue placeholder="Select competitor" />
+ <SelectValue placeholder="Select competitor">
+ {(value) => gaps.competitors.find((c) => c.id === value)?.name ?? 'Select competitor'}
+ </SelectValue>
</SelectTrigger>
<SelectContent>
{gaps.competitors.map((c) => (