diff --git a/src/app/(admin)/admin/rounds/[roundId]/page.tsx b/src/app/(admin)/admin/rounds/[roundId]/page.tsx index b970688..08696cd 100644 --- a/src/app/(admin)/admin/rounds/[roundId]/page.tsx +++ b/src/app/(admin)/admin/rounds/[roundId]/page.tsx @@ -492,7 +492,7 @@ export default function RoundDetailPage() { const isFiltering = round?.roundType === 'FILTERING' const isEvaluation = round?.roundType === 'EVALUATION' const hasJury = ['EVALUATION', 'LIVE_FINAL', 'DELIBERATION'].includes(round?.roundType ?? '') - const hasAwards = hasJury + const hasAwards = roundAwards.length > 0 const isSimpleAdvance = ['INTAKE', 'SUBMISSION', 'MENTORING'].includes(round?.roundType ?? '') const poolLink = `/admin/projects?hasAssign=false&round=${roundId}` as Route diff --git a/src/components/admin/assignment/individual-assignments-table.tsx b/src/components/admin/assignment/individual-assignments-table.tsx index bf05009..4b86977 100644 --- a/src/components/admin/assignment/individual-assignments-table.tsx +++ b/src/components/admin/assignment/individual-assignments-table.tsx @@ -60,6 +60,7 @@ import { Search, MoreHorizontal, UserPlus, + ExternalLink, } from 'lucide-react' export type IndividualAssignmentsTableProps = { @@ -371,6 +372,13 @@ export function IndividualAssignmentsTable({ + + + + View Project + + + {a.conflictOfInterest?.hasConflict && ( <>

- {e.project.title} + ev.stopPropagation()} + > + {e.project.title} +

{[e.project.teamName, e.project.country, e.project.competitionCategory].filter(Boolean).join(', ') || '—'} diff --git a/src/components/admin/round/project-states-table.tsx b/src/components/admin/round/project-states-table.tsx index 4f0b614..3d6b818 100644 --- a/src/components/admin/round/project-states-table.tsx +++ b/src/components/admin/round/project-states-table.tsx @@ -406,10 +406,10 @@ export function ProjectStatesTable({ competitionId, roundId }: ProjectStatesTabl - + View Project - + {PROJECT_STATES.filter((s) => s !== ps.state).map((state) => {