Get all library albums in one hit... heavy server load
This commit is contained in:
@ -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){
|
||||
|
||||
@ -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']
|
||||
}
|
||||
]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user