Grid item source icon; Patching request URI back into response avoids never-loading playlists; URI now in Mopidy loadKey to properly show loader
This commit is contained in:
@ -196,8 +196,6 @@ class Album extends React.Component {
|
||||
filter,
|
||||
} = this.state;
|
||||
|
||||
console.debug({ uri })
|
||||
|
||||
if (loading) {
|
||||
return <Loader body loading />;
|
||||
}
|
||||
|
||||
@ -98,6 +98,10 @@ class LibraryBrowse extends React.Component {
|
||||
subdirectory.icons = ['/iris/assets/backgrounds/browse-google.jpg'];
|
||||
break;
|
||||
|
||||
case 'YouTube Music':
|
||||
subdirectory.icons = ['/iris/assets/backgrounds/browse-youtube.jpg'];
|
||||
break;
|
||||
|
||||
default:
|
||||
subdirectory.icons = ['/iris/assets/backgrounds/browse-default.jpg'];
|
||||
}
|
||||
@ -118,7 +122,7 @@ class LibraryBrowse extends React.Component {
|
||||
</Header>
|
||||
<section className="content-wrapper">
|
||||
<div className="grid grid--tiles">
|
||||
<Grid items={grid_items} />
|
||||
<Grid items={grid_items} sourceIcon={false} />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
|
||||
@ -55,6 +55,7 @@ const Subdirectories = ({ items, view }) => {
|
||||
items={items}
|
||||
getLink={link}
|
||||
nocontext
|
||||
sourceIcon={false}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user