Skip to content

Commit c70416b

Browse files
committed
Remove empty descriptions
1 parent e00a8f9 commit c70416b

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/app/lecture-player/lecture-player.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -66,10 +66,6 @@ export class LecturePlayerComponent implements OnInit {
6666
// set ordering and fix ids
6767
this.lecture.recordings.forEach(recording => {
6868
recording.id = recording.name.replace(/(\s)*/g, '').toLowerCase();
69-
70-
if (!recording.description) {
71-
recording.description = recording.name;
72-
}
7369
});
7470

7571
if (lecture.recordings.length > 0) {

0 commit comments

Comments
 (0)