hide playlist author if there isn't one

This commit is contained in:
nieve 2024-08-26 16:06:32 -04:00
parent 34b813ecd8
commit 24b1317676

View File

@ -4,10 +4,13 @@
><h1 class="font-bold !text-lg hover:underline" v-text="playlist.name" ><h1 class="font-bold !text-lg hover:underline" v-text="playlist.name"
/></router-link> /></router-link>
<span class="text-sm"> <span class="text-sm">
<router-link class="link-secondary" :to="playlist.uploaderUrl" :title="playlist.uploader"> <template v-if="playlist.uploader">
{{ playlist.uploader }} <router-link class="link-secondary" :to="playlist.uploaderUrl" :title="playlist.uploader">
</router-link> {{ playlist.uploader }}
- {{ selectedIndex }} / {{ playlist.videos }} </router-link>
-
</template>
{{ selectedIndex }} / {{ playlist.videos }}
</span> </span>
</div> </div>
<div ref="scrollable" class="mt-4 max-h-screen-sm overflow-y-auto"> <div ref="scrollable" class="mt-4 max-h-screen-sm overflow-y-auto">