mirror of
https://codeberg.org/SafeTwitch/safetwitch.git
synced 2024-12-22 05:12:57 -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>
|
||||
<div class="min-w-[300px]">
|
||||
<div v-if="videoData.type === 'vod'" class="min-w-[300px]">
|
||||
<div class="relative">
|
||||
<RouterLink :to="'/videos/' + videoData.id">
|
||||
<img :src="videoData.preview" class="rounded-md" width="300" />
|
||||
|
|
|
@ -15,6 +15,7 @@ export interface MinifiedStreamer {
|
|||
}
|
||||
|
||||
export interface Video {
|
||||
type: "vod" | "clip"
|
||||
preview: string
|
||||
game: MinifiedCategory
|
||||
duration: number
|
||||
|
@ -23,6 +24,7 @@ export interface Video {
|
|||
views: number
|
||||
tag: string[]
|
||||
streamer: StreamerData
|
||||
id: string
|
||||
}
|
||||
|
||||
export interface Shelve {
|
||||
|
|
Loading…
Reference in a new issue