Skip to content

Commit

Permalink
fix(web): add size
Browse files Browse the repository at this point in the history
  • Loading branch information
yjl9903 committed Sep 15, 2024
1 parent bd7b5e9 commit 637cea0
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions apps/frontend/web/app/components/Resources/table.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,9 @@ export const ResourceItem = memo((props: { resource: Resource<{ tracker: true }>
/>
</a> */}
<span className="text-xs text-zinc-400">发布于 {formatInTimeZone(new Date(r.createdAt), 'Asia/Shanghai', 'yyyy-MM-dd HH:mm')}</span>
<span className="text-xs text-zinc-400">上传者 {r.publisher.name}</span>
{r.fansub && <span className="text-xs text-zinc-400">字幕组 {r.fansub?.name}</span>}
{/* <span className="text-xs text-zinc-400">上传者 {r.publisher.name}</span>
{r.fansub && <span className="text-xs text-zinc-400">字幕组 {r.fansub?.name}</span>} */}
<span className="text-xs text-zinc-400">大小 {r.size}</span>
<a
href={getDetailHref(r)}
className="text-link-secondary text-xs"
Expand Down

0 comments on commit 637cea0

Please sign in to comment.