diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-04-24 11:15:40 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-05-01 07:06:04 -0300 |
commit | 5105fc7b92b57bd92ce991def4ecbfd484e96df7 (patch) | |
tree | 01c3a7259b955d72426e62640186e480fff83a11 /src/content/dependencies/listArtistsByLatestContribution.js | |
parent | 1c6d49fc8beddc2608adf43bd269a2e509cfbb70 (diff) |
content: misc adaptations for who/what -> artist/annotation
Diffstat (limited to 'src/content/dependencies/listArtistsByLatestContribution.js')
-rw-r--r-- | src/content/dependencies/listArtistsByLatestContribution.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/content/dependencies/listArtistsByLatestContribution.js b/src/content/dependencies/listArtistsByLatestContribution.js index 0f70957..27a2faa 100644 --- a/src/content/dependencies/listArtistsByLatestContribution.js +++ b/src/content/dependencies/listArtistsByLatestContribution.js @@ -83,7 +83,8 @@ export default { }); }; - const getArtists = (thing, key) => thing[key].map(({who}) => who); + const getArtists = (thing, key) => + thing[key].map(({artist}) => artist); const albumsLatestFirst = sortAlbumsTracksChronologically(sprawl.albumData.slice()); const tracksLatestFirst = sortAlbumsTracksChronologically(sprawl.trackData.slice()); |