mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 05:12:57 -05:00
Fix errors
This commit is contained in:
parent
e2682ba1a1
commit
5637e62900
5 changed files with 7 additions and 15 deletions
|
@ -13,9 +13,7 @@ export default {
|
|||
props: {
|
||||
masterManifestUrl: {
|
||||
type: String,
|
||||
default() {
|
||||
return {}
|
||||
}
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
emits: ['PlayerTimeUpdate'],
|
||||
|
|
|
@ -1,6 +1,4 @@
|
|||
<script lang="ts">
|
||||
import { inject } from 'vue'
|
||||
|
||||
export default {
|
||||
setup() {
|
||||
return {
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
<script lang="ts">
|
||||
import { ref } from 'vue'
|
||||
import SearchBar from './SearchBar.vue'
|
||||
import LanguageSwitcher from './LanguageSwitcher.vue'
|
||||
export default {
|
||||
components: {
|
||||
SearchBar,
|
||||
LanguageSwitcher
|
||||
SearchBar
|
||||
},
|
||||
setup() {
|
||||
return {
|
||||
|
|
|
@ -37,14 +37,15 @@ export default {
|
|||
|
||||
<hr class="my-auto w-full bg-gray-200 rounded-full opacity-40" />
|
||||
|
||||
<ul class="flex font-semibold text-md justify-start flex-wrap flex-row">
|
||||
<li v-if="socials" v-for="link in socials" :key="link.url">
|
||||
<ul v-if="socials" class="flex font-semibold text-md justify-start flex-wrap flex-row">
|
||||
<li v-for="link in socials" :key="link.url">
|
||||
<a :href="link.url" class="text-white hover:text-gray-400 mr-4 flex">
|
||||
<v-icon :name="getIconName(link.type)" class="w-6 h-6 mr-1"></v-icon>
|
||||
<span>{{ link.name }}</span>
|
||||
</a>
|
||||
</li>
|
||||
<p v-else> No socials provided </p>
|
||||
</ul>
|
||||
|
||||
<p v-else> No socials provided </p>
|
||||
</div>
|
||||
</template>
|
|
@ -1,9 +1,8 @@
|
|||
<script lang="ts">
|
||||
import { ref, inject } from 'vue'
|
||||
import { ref } from 'vue'
|
||||
import { useRoute } from 'vue-router'
|
||||
|
||||
import VideoPlayer from '@/components/VideoPlayer.vue'
|
||||
import TwitchChat from '@/components/TwitchChat.vue'
|
||||
import ErrorMessage from '@/components/ErrorMessage.vue'
|
||||
import FollowButton from '@/components/FollowButton.vue'
|
||||
import LoadingScreen from '@/components/LoadingScreen.vue'
|
||||
|
@ -24,7 +23,6 @@ export default {
|
|||
const clipSlug = route.params.slug
|
||||
const data = ref<Video>()
|
||||
const status = ref<'ok' | 'error'>()
|
||||
const rootBackendUrl = inject('rootBackendUrl')
|
||||
|
||||
let srcUrl
|
||||
await getEndpoint(`api/clips/cliplink/${clipSlug}`)
|
||||
|
@ -69,7 +67,6 @@ export default {
|
|||
},
|
||||
components: {
|
||||
VideoPlayer,
|
||||
TwitchChat,
|
||||
ErrorMessage,
|
||||
FollowButton,
|
||||
LoadingScreen,
|
||||
|
|
Loading…
Reference in a new issue