Show full country name instead of code in assign dialog
Build and Push Docker Image / build (push) Successful in 8m11s
Details
Build and Push Docker Image / build (push) Successful in 8m11s
Details
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
a3f12ed5de
commit
56a44049d3
|
|
@ -24,6 +24,7 @@ import {
|
||||||
TableRow,
|
TableRow,
|
||||||
} from '@/components/ui/table'
|
} from '@/components/ui/table'
|
||||||
import { Search, Loader2, Plus, Package } from 'lucide-react'
|
import { Search, Loader2, Plus, Package } from 'lucide-react'
|
||||||
|
import { getCountryName } from '@/lib/countries'
|
||||||
|
|
||||||
interface AssignProjectsDialogProps {
|
interface AssignProjectsDialogProps {
|
||||||
roundId: string
|
roundId: string
|
||||||
|
|
@ -195,7 +196,7 @@ export function AssignProjectsDialog({
|
||||||
<TableCell>
|
<TableCell>
|
||||||
{project.country ? (
|
{project.country ? (
|
||||||
<Badge variant="outline" className="text-xs">
|
<Badge variant="outline" className="text-xs">
|
||||||
{project.country}
|
{getCountryName(project.country)}
|
||||||
</Badge>
|
</Badge>
|
||||||
) : '—'}
|
) : '—'}
|
||||||
</TableCell>
|
</TableCell>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue