diff --git a/src/commons/assessment/AssessmentTypes.ts b/src/commons/assessment/AssessmentTypes.ts index 0169f52ad0..6b1144e931 100644 --- a/src/commons/assessment/AssessmentTypes.ts +++ b/src/commons/assessment/AssessmentTypes.ts @@ -121,7 +121,7 @@ export interface IContestVotingQuestion extends BaseQuestion { prepend: string; postpend: string; contestEntries: ContestEntry[]; - contestLeaderboard: ContestEntry[]; + scoreLeaderboard: ContestEntry[]; type: 'voting'; } diff --git a/src/commons/assessmentWorkspace/AssessmentWorkspace.tsx b/src/commons/assessmentWorkspace/AssessmentWorkspace.tsx index 6aa3fd43c9..7aec87268c 100644 --- a/src/commons/assessmentWorkspace/AssessmentWorkspace.tsx +++ b/src/commons/assessmentWorkspace/AssessmentWorkspace.tsx @@ -444,15 +444,15 @@ const AssessmentWorkspace: React.FC = props => { id: SideContentType.contestVoting }, { - label: 'Contest Leaderboard', + label: 'Score Leaderboard', iconName: IconNames.CROWN, body: ( ), - id: SideContentType.contestLeaderboard + id: SideContentType.scoreLeaderboard } ); } else { diff --git a/src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap b/src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap index 34f8d721fa..c936aa38ae 100644 --- a/src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap +++ b/src/commons/assessmentWorkspace/__tests__/__snapshots__/AssessmentWorkspace.tsx.snap @@ -470,13 +470,13 @@ exports[`AssessmentWorkspace AssessmentWorkspace page with ContestVoting questio