aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-07-05 09:27:53 +0200
committerChocobozzz <me@florianbigard.com>2021-07-05 09:27:53 +0200
commitcf7f5830984657252bc96ae1278830447a5e244c (patch)
tree5803596af63e69de6d2b3ba9d924582d31d82f67
parentc4238d68fb24b53eecb908067687060e23c40090 (diff)
downloadPeerTube-cf7f5830984657252bc96ae1278830447a5e244c.tar.gz
PeerTube-cf7f5830984657252bc96ae1278830447a5e244c.tar.zst
PeerTube-cf7f5830984657252bc96ae1278830447a5e244c.zip
Use show uuid for playlist miniatures
-rw-r--r--client/src/app/shared/shared-video-playlist/video-playlist.model.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/src/app/shared/shared-video-playlist/video-playlist.model.ts b/client/src/app/shared/shared-video-playlist/video-playlist.model.ts
index d96b70922..55013e4c5 100644
--- a/client/src/app/shared/shared-video-playlist/video-playlist.model.ts
+++ b/client/src/app/shared/shared-video-playlist/video-playlist.model.ts
@@ -44,7 +44,7 @@ export class VideoPlaylist implements ServerVideoPlaylist {
44 videoChannelBy?: string 44 videoChannelBy?: string
45 45
46 static buildWatchUrl (playlist: Pick<VideoPlaylist, 'uuid' | 'shortUUID'>) { 46 static buildWatchUrl (playlist: Pick<VideoPlaylist, 'uuid' | 'shortUUID'>) {
47 return '/w/p/' + (playlist.uuid || playlist.shortUUID) 47 return '/w/p/' + (playlist.shortUUID || playlist.uuid)
48 } 48 }
49 49
50 constructor (hash: ServerVideoPlaylist, translations: {}) { 50 constructor (hash: ServerVideoPlaylist, translations: {}) {