Fix card navigating Persona and artists #176
This commit is contained in:
8 files changed
+25
-8
No files matched your search
@@ -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>
|
||||
);
|
||||
})}
|
||||
|
||||
Reference in new issue
Block a user