show minimize recommendations button on desktop

This commit is contained in:
macks36 2022-07-19 21:47:04 +02:00 committed by Kavin
parent 8da8eb26e1
commit ca1a3d5b43
No known key found for this signature in database
GPG key ID: 49451E4482CC5BCD

View file

@ -182,12 +182,12 @@
:selected-index="index" :selected-index="index"
/> />
<a <a
class="btn mb-2 sm:hidden" class="btn mb-2"
@click="showRecs = !showRecs" @click="showRecs = !showRecs"
v-t="`actions.${showRecs ? 'minimize_recommendations' : 'show_recommendations'}`" v-t="`actions.${showRecs ? 'minimize_recommendations' : 'show_recommendations'}`"
/> />
<hr v-show="showRecs" /> <hr v-show="showRecs" />
<div v-show="showRecs || !smallView"> <div v-show="showRecs">
<VideoItem <VideoItem
v-for="related in video.relatedStreams" v-for="related in video.relatedStreams"
:key="related.url" :key="related.url"