Fix card navigating Persona and artists #176

This commit is contained in:
Prayag Prajapati committed 2023-09-25 21:59:43 +05:30
1 parent edf9831a79
commit e3b3cb3ab6
8 files changed
+25 -8

No files matched your search

+15
View File
@@ -7,6 +7,7 @@ import CircularProgress from "@mui/material/CircularProgress";
import Divider from "@mui/material/Divider";
import Tabs from "@mui/material/Tabs";
import Tab from "@mui/material/Tab";
import Typography from "@mui/material/Typography";
import { AnimatePresence, motion } from "framer-motion";
@@ -165,6 +166,7 @@ const PersonTitlePage = () => {
fields: ["SeasonUserData", "Overview"],
sortBy: ["PremiereDate", "ProductionYear", "SortName"],
excludeLocationTypes: [LocationType.Virtual],
limit: 24,
});
return result.data;
},
@@ -424,6 +426,19 @@ const PersonTitlePage = () => {
},
)}
</motion.div>
{tab.data.isSuccess &&
tab.data.data
.TotalRecordCount >
24 && (
<Typography
variant="h6"
style={{
opacity: 0.8,
}}
>
And more...
</Typography>
)}
</TabPanel>
);
})}