Show full country name instead of code in assign dialog
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
@@ -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>
|
||||||
|
|||||||
Reference in New Issue
Block a user