Skip to content

Commit

Permalink
Bug fix for related episodes and episode groups
Browse files Browse the repository at this point in the history
  • Loading branch information
LarsBergqvist committed Nov 21, 2023
1 parent fcd304b commit 0292ebf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/app/components/episodes/episode-details.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
{{'LinkToProgramDetailsText' | translate}}<b>{{episode.programName}} </b>
<i class="pi pi-info-circle"></i>
</div>
<div *ngIf="episode.relatedEpisodes.length > 0">
<div *ngIf="episode.relatedEpisodes && episode.relatedEpisodes.length > 0">
<p></p>
<b>Relaterade avsnitt:</b>
<ul *ngFor="let related of episode.relatedEpisodes">
Expand All @@ -64,7 +64,7 @@
</li>
</ul>
</div>
<div *ngIf="episode.episodeGroups.length > 0">
<div *ngIf="episode.episodeGroups && episode.episodeGroups.length > 0">
<p></p>
<ul *ngFor="let group of episode.episodeGroups">
<li>
Expand Down

0 comments on commit 0292ebf

Please sign in to comment.