mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-23 20:37:42 +02:00
remove refresh buttons from grid carousel by default
This commit is contained in:
@@ -342,6 +342,7 @@ export const AlbumDetailContent = () => {
|
||||
uniqueId: 'moreFromArtist',
|
||||
},
|
||||
{
|
||||
enableRefresh: true,
|
||||
excludeIds: detailQuery?.data?.id ? [detailQuery.data.id] : undefined,
|
||||
isHidden: !detailQuery?.data?.genres?.[0],
|
||||
query: {
|
||||
@@ -413,6 +414,7 @@ export const AlbumDetailContent = () => {
|
||||
.filter((c) => !c.isHidden)
|
||||
.map((carousel) => (
|
||||
<AlbumInfiniteCarousel
|
||||
enableRefresh={carousel.enableRefresh}
|
||||
excludeIds={carousel.excludeIds}
|
||||
key={`carousel-${carousel.uniqueId}`}
|
||||
query={carousel.query}
|
||||
|
||||
Reference in New Issue
Block a user