Skip to content

Commit eacc04d

Browse files
committed
fix: issues
1 parent f83ad4d commit eacc04d

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/course-home/progress-tab/grades/messages.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const messages = defineMessages({
2424
courseGradeFooterDueDateNotice: {
2525
id: 'progress.courseGrade.footer.dueDateNotice',
2626
defaultMessage: 'Some assignment scores are not yet included in your total grade. These grades will be released by {dueDate}.',
27-
description: 'This shown when there are pending assignments with due date in the future',
27+
description: 'This is shown when there are pending assignments with a due date in the future',
2828
},
2929
courseGradeFooterGenericPassing: {
3030
id: 'progress.courseGrade.footer.generic.passing',
@@ -165,8 +165,8 @@ const messages = defineMessages({
165165
},
166166
hiddenScoreLockInfoText: {
167167
id: 'progress.hiddenScoreLockInfoText',
168-
defaultMessage: 'Shown when scores for an assignment type are hidden yet still counted toward the course grade.',
169-
description: 'Information text about hidden score label when learner have limited access to grades feature',
168+
defaultMessage: 'Scores for an assignment type are hidden but still counted toward the course grade.',
169+
description: 'Information text about hidden score label when learners have limited access to grades feature',
170170
},
171171
noAccessToAssignmentType: {
172172
id: 'progress.noAcessToAssignmentType',

src/course-home/progress-tab/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ const getSubsectionsOfType = (assignmentType, sectionScores) => (sectionScores |
1515
}, []);
1616

1717
// Returns True if this subsection is "hidden"
18-
const isSubsectionHidden = (sub) => sub.showGrades && sub.showCorrectness === 'never_but_include_grade';
18+
const isSubsectionHidden = (sub) => sub.showCorrectness === 'never_but_include_grade';
1919

2020
// Returns True if all grades are hidden for this assignment type
2121
export const areAllGradesHiddenForType = (assignmentType, sectionScores) => {

0 commit comments

Comments
 (0)