Improve Person page #243

This commit is contained in:
Prayag Prajapati committed 2024-01-16 11:50:09 +05:30
1 parent dbb6e272b1
commit 3987ffd4da
3 files changed
+100 -11

No files matched your search

+4
View File
@@ -345,6 +345,10 @@ const SeriesTitlePage = () => {
>
<Typography style={{ opacity: "0.8" }} variant="subtitle1">
{item.data.ProductionYear ?? ""}
{item.data.Status === "Continuing"
? " - Present"
: item.data.EndDate &&
` - ${new Date(item.data.EndDate).getFullYear()}`}
</Typography>
{item.data.OfficialRating && (
<Chip variant="filled" label={item.data.OfficialRating} />