Hide clips (not supported yet)
This commit is contained in:
parent
5a29bd8c74
commit
834301ea90
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="min-w-[300px]">
|
<div v-if="videoData.type === 'vod'" class="min-w-[300px]">
|
||||||
<div class="relative">
|
<div class="relative">
|
||||||
<RouterLink :to="'/videos/' + videoData.id">
|
<RouterLink :to="'/videos/' + videoData.id">
|
||||||
<img :src="videoData.preview" class="rounded-md" width="300" />
|
<img :src="videoData.preview" class="rounded-md" width="300" />
|
||||||
|
@ -15,6 +15,7 @@ export interface MinifiedStreamer {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export interface Video {
|
export interface Video {
|
||||||
|
type: "vod" | "clip"
|
||||||
preview: string
|
preview: string
|
||||||
game: MinifiedCategory
|
game: MinifiedCategory
|
||||||
duration: number
|
duration: number
|
||||||
@ -23,6 +24,7 @@ export interface Video {
|
|||||||
views: number
|
views: number
|
||||||
tag: string[]
|
tag: string[]
|
||||||
streamer: StreamerData
|
streamer: StreamerData
|
||||||
|
id: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export interface Shelve {
|
export interface Shelve {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user