diff --git a/src/app/cube/details/components/splash/splash.component.ts b/src/app/cube/details/components/splash/splash.component.ts index 93a0cb831..ac0189baa 100644 --- a/src/app/cube/details/components/splash/splash.component.ts +++ b/src/app/cube/details/components/splash/splash.component.ts @@ -88,7 +88,7 @@ export class SplashComponent implements OnInit, AfterViewInit { const tags = await this.tagsService.getTags(); // Get the full tags to pass into the pills component this.fullTags = tags.filter((tag: Tag) => { - if (this.learningObject.tags.includes(tag._id)) { + if (this.learningObject.tags?.includes(tag._id)) { return tag; } });