mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 13:22:58 -05:00
Hide clips (not supported yet)
This commit is contained in:
parent
5a29bd8c74
commit
834301ea90
2 changed files with 3 additions and 1 deletions
|
@ -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…
Reference in a new issue