Skip to content

Commit

Permalink
try refactoring for failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
egekurt123 committed May 8, 2024
1 parent f44152f commit 9249f69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/webapp/app/overview/course-overview.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,12 +103,12 @@ export class CourseOverviewService {
subtitleLeft: exercise.dueDate?.format('MMM DD, YYYY') ?? 'No due date',
type: exercise.type,
icon: getIcon(exercise.type),
size: 'M',
difficulty: exercise.difficulty,
exercise: exercise,
studentParticipation: exercise?.studentParticipations?.length
? this.participationService.getSpecificStudentParticipation(exercise.studentParticipations, false)
: undefined,

Check failure on line 110 in src/main/webapp/app/overview/course-overview.service.ts

View workflow job for this annotation

GitHub Actions / client-tests

Property 'size' is missing in type '{ title: string; id: string | number; subtitleLeft: string | undefined; subtitleRight: string; }' but required in type 'SidebarCardElement'.

Check failure on line 110 in src/main/webapp/app/overview/course-overview.service.ts

View workflow job for this annotation

GitHub Actions / client-compilation

Property 'size' is missing in type '{ title: string; id: string | number; subtitleLeft: string | undefined; subtitleRight: string; }' but required in type 'SidebarCardElement'.

Check failure on line 110 in src/main/webapp/app/overview/course-overview.service.ts

View workflow job for this annotation

GitHub Actions / client-tests-selected

Property 'size' is missing in type '{ title: string; id: string | number; subtitleLeft: string | undefined; subtitleRight: string; }' but required in type 'SidebarCardElement'.
size: 'M',
};
return exerciseCardItem;
}
Expand Down

0 comments on commit 9249f69

Please sign in to comment.