diff --git a/src/main/webapp/app/lti/lti-course-card.component.ts b/src/main/webapp/app/lti/lti-course-card.component.ts index 6fe432484e1a..9b3c0e69f074 100644 --- a/src/main/webapp/app/lti/lti-course-card.component.ts +++ b/src/main/webapp/app/lti/lti-course-card.component.ts @@ -15,7 +15,7 @@ import { ArtemisSharedModule } from 'app/shared/shared.module'; }) export class LtiCourseCardComponent implements OnChanges { readonly ARTEMIS_DEFAULT_COLOR = ARTEMIS_DEFAULT_COLOR; - course = input(); + readonly course = input.required(); CachingStrategy = CachingStrategy; courseColor: string;