add playlist name and link to playlist page

This commit is contained in:
nieve 2024-08-26 14:56:16 -04:00
parent 5e4d299a07
commit 116d6ae99a

View File

@ -1,4 +1,15 @@
<template> <template>
<div>
<router-link :to="{path:'/playlist',query:{list:playlistId}}"
><h1 class="font-bold !text-lg hover:underline" v-text="playlist.name"
/></router-link>
<span class="text-sm">
<router-link class="link-secondary" :to="playlist.uploaderUrl" :title="playlist.uploader">
{{ playlist.uploader }}
</router-link>
- {{ selectedIndex }} / {{ playlist.videos }}
</span>
</div>
<div ref="scrollable" class="mt-4 h-screen-sm overflow-y-scroll"> <div ref="scrollable" class="mt-4 h-screen-sm overflow-y-scroll">
<div <div
v-for="(related, index) in playlist.relatedStreams" v-for="(related, index) in playlist.relatedStreams"