fix: related movies
This commit is contained in:
parent
02789dc47c
commit
82e82d459a
1 changed files with 7 additions and 0 deletions
|
@ -32,6 +32,12 @@ const generateAssociatedMediaHTML = (data, isGenre = false) => {
|
||||||
category: "movies",
|
category: "movies",
|
||||||
title: "Related Movie(s)",
|
title: "Related Movie(s)",
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
key: "related_movies",
|
||||||
|
icon: "film",
|
||||||
|
category: "movies",
|
||||||
|
title: "Related Movie(s)",
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "shows",
|
key: "shows",
|
||||||
icon: "deviceTvOld",
|
icon: "deviceTvOld",
|
||||||
|
@ -92,6 +98,7 @@ const generateAssociatedMediaHTML = (data, isGenre = false) => {
|
||||||
return `<li><a href="${url}">${name}</a>${totalPlays}</li>`;
|
return `<li><a href="${url}">${name}</a>${totalPlays}</li>`;
|
||||||
} else if (
|
} else if (
|
||||||
key === "movies" ||
|
key === "movies" ||
|
||||||
|
key === "related_movies" ||
|
||||||
key === "shows" ||
|
key === "shows" ||
|
||||||
key === "related_shows"
|
key === "related_shows"
|
||||||
) {
|
) {
|
||||||
|
|
Reference in a new issue