From 7f90579c04383ca883083548f40782352605d778 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 7 Aug 2020 10:25:07 +0200 Subject: Add playlist embed E2E test --- client/src/assets/player/playlist/playlist-menu.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'client/src') diff --git a/client/src/assets/player/playlist/playlist-menu.ts b/client/src/assets/player/playlist/playlist-menu.ts index 37284fb44..a2583047b 100644 --- a/client/src/assets/player/playlist/playlist-menu.ts +++ b/client/src/assets/player/playlist/playlist-menu.ts @@ -65,8 +65,11 @@ class PlaylistMenu extends Component { className: 'title' }) + const playlistChannel = options.playlist.videoChannel const leftSubtitle = super.createEl('div', { - innerHTML: this.player().localize('By {1}', [ options.playlist.videoChannel.displayName ]), + innerHTML: playlistChannel + ? this.player().localize('By {1}', [ playlistChannel.displayName ]) + : '', className: 'channel' }) -- cgit v1.2.3