From d3f13b864dddec7ef191aca769794695323ed498 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 27 Jun 2023 21:07:20 -0300 Subject: content: gAIPArtworksChunkedList: don't style rereleases --- .../generateArtistInfoPageArtworksChunkedList.js | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js b/src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js index b5514128..2a8a2bbf 100644 --- a/src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js +++ b/src/content/dependencies/generateArtistInfoPageArtworksChunkedList.js @@ -32,8 +32,6 @@ export default { date: album.coverArtDate, contribs: album.coverArtistContribs, }, - // ...getContributionDescription(album.coverArtistContribs), - // ...getOtherArtistLinks(album.coverArtistContribs), })), ...artist.albumsAsWallpaperArtist.map(album => ({ @@ -44,8 +42,6 @@ export default { date: album.coverArtDate, contribs: album.wallpaperArtistContribs, }, - // ...getContributionDescription(album.wallpaperArtistContribs), - // ...getOtherArtistLinks(album.wallpaperArtistContribs), })), ...artist.albumsAsBannerArtist.map(album => ({ @@ -56,8 +52,6 @@ export default { date: album.coverArtDate, contribs: album.bannerArtistContribs, }, - // ...getContributionDescription(album.bannerArtistContribs), - // ...getOtherArtistLinks(album.bannerArtistContribs), })), ...artist.tracksAsCoverArtist.map(track => ({ @@ -69,10 +63,6 @@ export default { track: track, contribs: track.coverArtistContribs, }, - // rerelease: track.originalReleaseTrack !== null, - // trackLink: relation('linkTrack', track), - // ...getContributionDescription(track.coverArtistContribs), - // ...getOtherArtistLinks(track.coverArtistContribs), })), ]; @@ -120,10 +110,6 @@ export default { query.chunks.map(({chunk}) => chunk.map(({type}) => type)), - itemTrackRereleases: - query.chunks.map(({chunk}) => - chunk.map(({track}) => track ? !!track.originalReleaseTrack : null)), - itemContributions: query.chunks.map(({chunk}) => chunk.map(({contribs}) => @@ -144,7 +130,6 @@ export default { itemTrackLinks: relations.itemTrackLinks, itemOtherArtistLinks: relations.itemOtherArtistLinks, itemTypes: data.itemTypes, - itemTrackRereleases: data.itemTrackRereleases, itemContributions: data.itemContributions, }).map(({ chunk, @@ -169,19 +154,16 @@ export default { otherArtistLinks: itemOtherArtistLinks, type: itemTypes, contribution: itemContributions, - rerelease: itemTrackRereleases, }).map(({ item, trackLink, otherArtistLinks, type, contribution, - rerelease, }) => item.slots({ otherArtistLinks, contribution, - rerelease, content: (type === 'trackCover' -- cgit 1.3.0-6-gf8a5