Loader key including method

This commit is contained in:
James Barnsley
2019-12-10 16:56:59 +13:00
parent 9393488a3f
commit 6a0f47fc0f
24 changed files with 27148 additions and 19086 deletions

View File

@ -69,7 +69,7 @@ class User extends React.Component {
const user_id = helpers.getFromUri('userid', this.props.uri);
if (!this.props.user) {
if (helpers.isLoading(this.props.load_queue, [`spotify_users/${user_id}`, `spotify_users/${user_id}/playlists/?`])) {
if (helpers.isLoading(this.props.load_queue, [`spotify_GET_users/${user_id}`, `spotify_GET_users/${user_id}/playlists/?`])) {
return <Loader body loading />
}
return (