Get all library albums in one hit... heavy server load

This commit is contained in:
James Barnsley
2017-08-09 07:54:45 +12:00
parent 184ba5547c
commit 0825039d04
2 changed files with 0 additions and 6 deletions

View File

@ -37,7 +37,6 @@ class LibraryAlbums extends React.Component{
componentWillReceiveProps(newProps){
if (!this.props.spotify_connected && newProps.spotify_connected && !this.props.library_albums_started){
this.props.spotifyActions.getLibraryAlbums()
console.log('getting')
}
if (!this.props.mopidy_connected && newProps.mopidy_connected && !newProps.local_albums){

View File

@ -149,11 +149,6 @@ class LibraryBrowse extends React.Component{
name: 'Local artists',
link: global.baseURL+'library/browse/local-artists',
icons: ['assets/backgrounds/browse-artists.jpg']
},
{
name: 'Local albums',
link: global.baseURL+'library/browse/local-albums',
icons: ['assets/backgrounds/browse-albums.jpg']
}
]