ChannelHandle in web app
This commit is contained in:
1 parent
837386b6e0
commit
58ce2d6396
1 file changed
+2
-4
@@ -1,11 +1,10 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { PlayletApi } from "lib/Api/PlayletApi";
|
|
||||||
import { playletStateStore } from "lib/Stores";
|
import { playletStateStore } from "lib/Stores";
|
||||||
|
|
||||||
export let author: string | undefined = undefined;
|
export let author: string | undefined = undefined;
|
||||||
export let authorId: string | undefined = undefined;
|
export let authorId: string | undefined = undefined;
|
||||||
export let authorThumbnails: any[] | undefined = undefined;
|
export let authorThumbnails: any[] | undefined = undefined;
|
||||||
export let videoCount: number | undefined = undefined;
|
export let channelHandle: string | undefined = undefined;
|
||||||
export let subCount: number | undefined = undefined;
|
export let subCount: number | undefined = undefined;
|
||||||
|
|
||||||
// svelte-ignore unused-export-let
|
// svelte-ignore unused-export-let
|
||||||
@@ -34,7 +33,6 @@
|
|||||||
|
|
||||||
async function openChannelOnTv() {
|
async function openChannelOnTv() {
|
||||||
// TODO:P1 open channel on TV
|
// TODO:P1 open channel on TV
|
||||||
// await PlayletApi.playPlaylist(playlistId, title, videoCount);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
function openInvidiousInNewTab() {
|
function openInvidiousInNewTab() {
|
||||||
@@ -58,7 +56,7 @@
|
|||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<h3 class="card-title text-base line-clamp-1 min-h-8">{author}</h3>
|
<h3 class="card-title text-base line-clamp-1 min-h-8">{author}</h3>
|
||||||
<div>{subCount} subscribers</div>
|
<div>{subCount} subscribers</div>
|
||||||
<div>{videoCount} videos</div>
|
<div>{channelHandle || ""}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</button>
|
</button>
|
||||||
|
|||||||
Reference in new issue
Block a user