Removing remaining artistLoaded, albumLoaded, etc in favor of itemLoaded for consistent pipeline; Looking at search

This commit is contained in:
James Barnsley
2020-09-13 20:59:46 +12:00
parent f254170b2f
commit 449b32a384
30 changed files with 579 additions and 465 deletions

View File

@ -279,7 +279,7 @@ class Playlist extends React.Component {
const playlist_id = getFromUri('playlistid', uri);
if (!playlist) {
if (isLoading(load_queue, [`spotify_playlists/${playlist_id}?`])) {
if (isLoading(load_queue, [`(.*)${playlist_id}`])) {
return <Loader body loading />
}
return (
@ -349,7 +349,7 @@ class Playlist extends React.Component {
{this.renderActions()}
{isLoading(load_queue, [`spotify_playlists/${playlist_id}/tracks`]) ? (
{isLoading(load_queue, [`(.*)${playlist_id}/tracks`]) ? (
<Loader body loading />
) : (
<section className="list-wrapper">