Update libView and titlePage #26
This commit is contained in:
2 files changed
+47
-2
No files matched your search
@@ -441,6 +441,14 @@ const LibraryView = () => {
|
||||
items.refetch();
|
||||
};
|
||||
|
||||
const disablePaginationViews = [
|
||||
"MusicArtist",
|
||||
"Person",
|
||||
"Genre",
|
||||
"MusicGenre",
|
||||
"Studio",
|
||||
];
|
||||
|
||||
return (
|
||||
<Box
|
||||
sx={{
|
||||
@@ -1098,8 +1106,9 @@ const LibraryView = () => {
|
||||
)}
|
||||
|
||||
{!items.isFetching &&
|
||||
!disablePaginationViews.includes(currentViewType) &&
|
||||
items.isSuccess &&
|
||||
items.data.TotalRecordCount > 75 && (
|
||||
items.data.TotalRecordCount > maxDisplayItems && (
|
||||
<Stack
|
||||
alignItems="center"
|
||||
justifyContent="center"
|
||||
|
||||
Reference in new issue
Block a user