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 -->
<WatchOnButton :link="`https://youtu.be/${getVideoId()}`" />
<!-- 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 -->
<router-link
:to="toggleListenUrl"