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
1 changed files with 5 additions and 1 deletions

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"