diff --git a/src/js/components/Track.js b/src/js/components/Track.js index a1e881ff..3956f04e 100755 --- a/src/js/components/Track.js +++ b/src/js/components/Track.js @@ -40,7 +40,7 @@ export default class Track extends React.Component{ if( typeof(track.selected) !== 'undefined' && track.selected ) className += ' selected'; if( typeof(track.type) !== 'undefined' ) className += ' '+track.type; if( track.playing ) className += ' playing'; - + var album = '-' if( track.album ){ if( track.album.uri ){ @@ -136,6 +136,7 @@ export default class Track extends React.Component{ { this.props.track.selected ? : null } { this.props.track.playing ? : null } { track_columns } + { this.props.show_source_icon ? : null } ); } diff --git a/src/js/components/TrackList.js b/src/js/components/TrackList.js index 6f7828a6..50fc1079 100755 --- a/src/js/components/TrackList.js +++ b/src/js/components/TrackList.js @@ -322,7 +322,7 @@ class TrackList extends React.Component{ this.state.tracks.map( (track, index) => { return { // convert links in description - var description = response.description - description = description.split('