Resumable processes for mopidy

This commit is contained in:
James Barnsley
2017-08-16 18:03:07 +12:00
parent 8e030cc936
commit 706e28a7b6
6 changed files with 20 additions and 7 deletions

View File

@ -195,7 +195,7 @@ class Playlist extends React.Component{
<section className="list-wrapper">
{ this.props.playlist.tracks ? <TrackList uri={this.props.params.uri} className="playlist-track-list" context={context} tracks={this.props.playlist.tracks} removeTracks={ tracks_indexes => this.removeTracks(tracks_indexes) } reorderTracks={ (indexes, index) => this.reorderTracks(indexes, index) } /> : null }
<LazyLoadListener enabled={this.props.playlist.tracks_more} loadMore={ () => this.loadMore() }/>
<LazyLoadListener loading={this.props.playlist.tracks_more} loadMore={ () => this.loadMore() }/>
</section>
</div>
)