feat: add series
This commit is contained in:
@ -45,6 +45,8 @@ export const addMovieInfos: MenuEntry = {
|
||||
visible: () => {
|
||||
const loc = globalThis["location"];
|
||||
if (!getCookie("session_cookie")) return false;
|
||||
return loc?.pathname?.includes("movie") && !loc.pathname.endsWith("movies");
|
||||
return (loc?.pathname?.includes("movie") &&
|
||||
!loc.pathname.endsWith("movies")) ||
|
||||
(loc?.pathname?.includes("series") && !loc.pathname.endsWith("series"));
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user