1
0

update: showing tags on labelling page

This commit is contained in:
alikia2x (寒寒) 2025-12-01 03:22:55 +08:00
parent 423e602da5
commit a52de108bb
WARNING! Although there is a key with this ID in the database it does not verify this commit! This commit is SUSPICIOUS.
GPG Key ID: 56209E0CCD8420C6

View File

@ -1,8 +1,6 @@
import { Layout } from "@/components/Layout";
import { useCallback, useEffect, useState } from "react";
import { Input } from "@/components/ui/input";
import { Button } from "@/components/ui/button";
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "@/components/ui/card";
import { Label } from "@/components/ui/label";
import { formatDateTime } from "@/components/SearchResults";
import { treaty } from "@elysiajs/eden";
@ -201,9 +199,7 @@ export default function Home() {
<span>{currentVideo.bvid}</span> · <span>av{currentVideo.aid}</span>
</p>
<p>
<span> {formatDateTime(new Date(currentVideo.published_at!))}</span>
</p>
<p>
<span> {formatDateTime(new Date(currentVideo.published_at!))}</span><br/>
<span>{(currentVideo.views ?? 0).toLocaleString()}</span>
</p>
<p>
@ -217,6 +213,13 @@ export default function Home() {
{currentVideo.username}
</a>
</p>
<p>
<span>
<b></b>
<br />
{currentVideo.tags?.replaceAll(",","")}
</span>
</p>
</div>
</div>
</div>