mirror of https://github.com/Chocobozzz/PeerTube
Use show uuid for playlist miniatures
parent
c4238d68fb
commit
cf7f583098
|
@ -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: {}) {
|
||||||
|
|
Loading…
Reference in New Issue