Hide watch on odysee button when no lbryId

This commit is contained in:
Bnyro 2023-06-18 10:32:23 +02:00
parent 55a4f7fe0a
commit dd8f86e179

View File

@ -121,7 +121,11 @@
<!-- YouTube --> <!-- YouTube -->
<WatchOnButton :link="`https://youtu.be/${getVideoId()}`" /> <WatchOnButton :link="`https://youtu.be/${getVideoId()}`" />
<!-- Odysee --> <!-- Odysee -->
<WatchOnButton :link="`https://odysee.com/${video.lbryId}`" platform="Odysee" /> <WatchOnButton
v-if="video.lbryId"
:link="`https://odysee.com/${video.lbryId}`"
platform="Odysee"
/>
<!-- listen / watch toggle --> <!-- listen / watch toggle -->
<router-link <router-link
:to="toggleListenUrl" :to="toggleListenUrl"