diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-07 10:25:07 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-08-07 11:12:59 +0200 |
commit | 7f90579c04383ca883083548f40782352605d778 (patch) | |
tree | 7abeba248d6621b2df324c4def4271b9469288ee /client/src/assets/player/playlist/playlist-menu.ts | |
parent | 5ab7fd9da92463ade6b31d49bdc0f559174b4c57 (diff) | |
download | PeerTube-7f90579c04383ca883083548f40782352605d778.tar.gz PeerTube-7f90579c04383ca883083548f40782352605d778.tar.zst PeerTube-7f90579c04383ca883083548f40782352605d778.zip |
Add playlist embed E2E test
Diffstat (limited to 'client/src/assets/player/playlist/playlist-menu.ts')
-rw-r--r-- | client/src/assets/player/playlist/playlist-menu.ts | 5 |
1 files changed, 4 insertions, 1 deletions
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 { | |||
65 | className: 'title' | 65 | className: 'title' |
66 | }) | 66 | }) |
67 | 67 | ||
68 | const playlistChannel = options.playlist.videoChannel | ||
68 | const leftSubtitle = super.createEl('div', { | 69 | const leftSubtitle = super.createEl('div', { |
69 | innerHTML: this.player().localize('By {1}', [ options.playlist.videoChannel.displayName ]), | 70 | innerHTML: playlistChannel |
71 | ? this.player().localize('By {1}', [ playlistChannel.displayName ]) | ||
72 | : '', | ||
70 | className: 'channel' | 73 | className: 'channel' |
71 | }) | 74 | }) |
72 | 75 | ||