fix: hide Advancement Targets for non-scoring round types
All checks were successful
Build and Push Docker Image / build (push) Successful in 10m24s

Submission, Intake, and Mentoring rounds don't use score-based
advancement (Fixed Count / Score Threshold). The section is now
only shown for Evaluation and Filtering rounds.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-03 09:47:20 +01:00
parent 0285622fe1
commit 7735f3ecdf

View File

@@ -2159,6 +2159,7 @@ export default function RoundDetailPage() {
/> />
</div> </div>
{(isEvaluation || isFiltering) && (
<div className="border-t mt-2 pt-4 px-4 pb-2 bg-[#053d57]/[0.03] rounded-b-lg -mx-6 -mb-6 p-6"> <div className="border-t mt-2 pt-4 px-4 pb-2 bg-[#053d57]/[0.03] rounded-b-lg -mx-6 -mb-6 p-6">
<Label className="text-sm font-medium">Advancement Targets</Label> <Label className="text-sm font-medium">Advancement Targets</Label>
<p className="text-xs text-muted-foreground mb-3"> <p className="text-xs text-muted-foreground mb-3">
@@ -2259,6 +2260,7 @@ export default function RoundDetailPage() {
</> </>
)} )}
</div> </div>
)}
</CardContent> </CardContent>
</Card> </Card>