Tracklist 'source' to contain all the meta we need for queue (avoids unnecessary remote lookups)

This commit is contained in:
James Barnsley
2021-11-28 20:37:20 +13:00
parent a59f98ff9b
commit 46f22ead84
16 changed files with 102 additions and 58 deletions

View File

@ -63,9 +63,12 @@ class QueueHistory extends React.Component {
{tracks.length > 0 && (
<section className="content-wrapper">
<TrackList
uri="iris:queue-history"
source={{
uri: 'iris:queue-history',
name: 'Queue history',
context: 'history',
}}
className="queue-history-track-list"
track_context="history"
tracks={tracks}
show_source_icon
/>