diff --git a/src/pages/PerformanceDomainPracticePage.tsx b/src/pages/PerformanceDomainPracticePage.tsx index bfb40d1..ba977b8 100644 --- a/src/pages/PerformanceDomainPracticePage.tsx +++ b/src/pages/PerformanceDomainPracticePage.tsx @@ -328,8 +328,13 @@ export default function PerformanceDomainPracticePage() { const expectedGoalDone = expectedGoalProgress.total > 0 && expectedGoalProgress.completed >= expectedGoalProgress.total const keyPointDone = keyPointProgress.total > 0 && keyPointProgress.completed >= keyPointProgress.total const domainDone = expectedGoalDone && keyPointDone - const shouldKeepDisabled = domainDone && !shouldHighlightCorrect && !isWrongSelected - const optionDisabled = isAnswerShown || domainDone + const scopedDone = progress.scope === 'expectedGoal' + ? expectedGoalDone + : progress.scope === 'keyPoint' + ? keyPointDone + : domainDone + const shouldKeepDisabled = scopedDone && !shouldHighlightCorrect && !isWrongSelected + const optionDisabled = isAnswerShown || scopedDone return (