Skip to content

Commit

Permalink
Show requested by field again
Browse files Browse the repository at this point in the history
  • Loading branch information
NeKzor committed Jun 15, 2024
1 parent 11527e6 commit 6796517
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions src/server/app/views/Video.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -468,15 +468,7 @@ export const VideoView = () => {
)}
{data.board_rank !== null && <div>Rank at time of upload: {formatRank(data.board_rank)}</div>}
<br />
{
/* {data.comment?.length ? <div className={tw`break-words`}>Comment: {data.comment}</div> : (
<div>
Comment: <i>No comment</i>
</div>
)}
<br />
<div>Quality: {data.render_quality}</div>
<div>Date: {new Date(data.created_at).toLocaleDateString()}</div>
{metadata.timestamp === null && <div>Date: {new Date(data.created_at).toLocaleDateString()}</div>}
{data.requested_by_username !== null && (
<div>
Requested by: {data.requested_by_username
Expand All @@ -497,9 +489,8 @@ export const VideoView = () => {
{data.requested_in_channel_name}
</div>
)}
{(data.render_options?.length ?? 0) !== 0 && <div>Render options: {data.render_options}</div>}
{!!data.render_time && <div>Render time: {formatRenderTime(data)}</div>}
{(data.rendered_by_username || data.render_node) && (
{
/* {(data.rendered_by_username || data.render_node) && (
<div>
Render node: {data.rendered_by_username !== null
? (
Expand Down

0 comments on commit 6796517

Please sign in to comment.