Use show uuid for playlist miniatures

pull/4244/head
Chocobozzz 2021-07-05 09:27:53 +02:00
parent c4238d68fb
commit cf7f583098
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -44,7 +44,7 @@ export class VideoPlaylist implements ServerVideoPlaylist {
videoChannelBy?: string videoChannelBy?: string
static buildWatchUrl (playlist: Pick<VideoPlaylist, 'uuid' | 'shortUUID'>) { static buildWatchUrl (playlist: Pick<VideoPlaylist, 'uuid' | 'shortUUID'>) {
return '/w/p/' + (playlist.uuid || playlist.shortUUID) return '/w/p/' + (playlist.shortUUID || playlist.uuid)
} }
constructor (hash: ServerVideoPlaylist, translations: {}) { constructor (hash: ServerVideoPlaylist, translations: {}) {