Abstracting List/Grid indexer

This commit is contained in:
James Barnsley
2021-03-04 06:43:53 +13:00
parent fc54c6445b
commit 5b8627e2ef
14 changed files with 805 additions and 709 deletions

View File

@ -180,9 +180,8 @@ class LibraryAlbums extends React.Component {
<section className="content-wrapper">
<List
items={albums}
details={['followers', 'listeners']}
right_column={['source', 'albums']}
className="artists"
details={['artists', 'followers', 'listeners']}
right_column={['tracks']}
thumbnail
/>
</section>

View File

@ -167,8 +167,7 @@ class LibraryArtists extends React.Component {
<List
items={artists}
details={['followers', 'listeners']}
right_column={['source', 'albums']}
className="artists"
right_column={['albums']}
thumbnail
/>
</section>