We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b85c806 commit 170b31aCopy full SHA for 170b31a
hwproj.front/src/components/Courses/CourseExperimental.tsx
@@ -239,7 +239,7 @@ export const CourseExperimental: FC<ICourseExperimentalProps> = (props) => {
239
if (groupedHomeworks.length === 1) return true
240
241
const keys = new Set(groupedHomeworks.map(h => h.tasks!.map(t => t.maxRating).join(";")))
242
- return {groupingTag: groupingTag, hasErrors: keys.size === 1}
+ return {groupingTag: groupingTag, hasErrors: keys.size !== 1}
243
}
244
245
const getDatesAlert = (entity: HomeworkViewModel | HomeworkTaskViewModel, isHomework: boolean) => {
0 commit comments