Fix web app views when using new backend

This commit is contained in:
Brahim Hadriche committed 2024-12-22 20:43:22 -05:00
1 parent 51fa4c0540
commit 93d660e978
11 files changed
+45 -4

No files matched your search

@@ -9,6 +9,7 @@
export let videoThumbnails: any[] | undefined = undefined;
export let author: string | undefined = undefined;
export let lengthSeconds: number = undefined;
export let lengthText: string | undefined = undefined;
export let liveNow: boolean = undefined;
export let viewCount: number | undefined = undefined;
export let isUpcoming: boolean = undefined;
@@ -64,6 +65,7 @@
videoThumbnails: getVideoThumbnails(),
author,
lengthSeconds,
lengthText,
liveNow,
viewCount,
timestamp,
@@ -96,6 +98,7 @@
bind:videoThumbnails
bind:liveNow
bind:lengthSeconds
bind:lengthText
bind:viewCount
bind:isUpcoming
bind:premiereTimestamp
@@ -109,6 +112,7 @@
bind:checked={videoStartAtChecked}
bind:timestamp={videoStartAtTimestamp}
{lengthSeconds}
{lengthText}
/>
<div class="join join-vertical m-2">
<button class="btn join-item hover:btn-accent" on:click={playOnTv}>