mirror of
https://github.com/TeamPiped/Piped.git
synced 2026-03-28 03:16:58 +00:00
Move conditional rendering logic to WatchOnYouTubeButton
This commit is contained in:
@@ -23,10 +23,7 @@
|
||||
<a class="btn mr-1" :href="getRssUrl">
|
||||
<font-awesome-icon icon="rss" />
|
||||
</a>
|
||||
<WatchOnYouTubeButton
|
||||
v-if="this.getPreferenceBoolean('showWatchOnYouTube', false)"
|
||||
:link="`https://www.youtube.com/playlist?list=${this.$route.query.list}`"
|
||||
/>
|
||||
<WatchOnYouTubeButton :link="`https://www.youtube.com/playlist?list=${this.$route.query.list}`" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user