mirror of
https://github.com/p-stream/p-stream.git
synced 2026-04-14 12:50:28 +00:00
add air date to unreleased
This commit is contained in:
parent
d837bcc7bf
commit
9d3123ac1f
1 changed files with 6 additions and 2 deletions
|
|
@ -289,7 +289,9 @@ function EpisodesView({
|
|||
</span>
|
||||
{!isAired && (
|
||||
<span className="text-video-context-type-main/70 text-sm">
|
||||
(Unreleased)
|
||||
{ep.air_date
|
||||
? `(Airs - ${new Date(ep.air_date).toLocaleDateString()})`
|
||||
: "(Unreleased)"}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
|
@ -355,7 +357,9 @@ function EpisodesView({
|
|||
</span>
|
||||
{!isAired && (
|
||||
<span className="text-video-context-type-main/70 text-sm">
|
||||
(Unreleased)
|
||||
{ep.air_date
|
||||
? `(Airs - ${new Date(ep.air_date).toLocaleDateString()})`
|
||||
: "(Unreleased)"}
|
||||
</span>
|
||||
)}
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in a new issue