0
Fork 0
mirror of https://codeberg.org/SafeTwitch/safetwitch.git synced 2024-12-22 21:33:01 -05:00

Player doesn't unload

This commit is contained in:
dragongoose 2023-08-21 16:58:12 -04:00
parent 503bf195be
commit 1f568243bd
No known key found for this signature in database
GPG key ID: 01397EEC371CDAA5

View file

@ -116,14 +116,11 @@ export default {
</div> </div>
<div class="ml-3 content-between"> <div class="ml-3 content-between">
<div> <div class="">
<h1 class="text-2xl md:text-4xl font-bold inline-block">{{ data.username }}</h1> <h1 class="text-2xl md:text-4xl font-bold inline-block">{{ data.username }}</h1>
<router-link v-if="$route.query['audio-only'] !== 'true'" to="?audio-only=true"> <a v-if="$route.query['audio-only'] !== 'true'" href="?audio-only=true">
<v-icon name="bi-headphones" class="ml-1 w-8 h-8 inline-block"></v-icon> <v-icon name="bi-headphones" class="ml-1 w-8 h-8 inline-block"></v-icon>
</router-link> </a>
<!-- For some reason it doesn't like going from
audio only to video, so we'll have the page reload
-->
<a v-else :href="$route.params.username.toString()"> <a v-else :href="$route.params.username.toString()">
<v-icon name="bi-camera-video-fill" class="ml-1 w-8 h-8 inline-block"></v-icon> <v-icon name="bi-camera-video-fill" class="ml-1 w-8 h-8 inline-block"></v-icon>
</a> </a>