GIF to css-loader; If PyPi down, don't break get_version; Playing icon in tracklist

This commit is contained in:
James Barnsley
2016-12-18 11:32:03 +13:00
parent fb5a5f8b58
commit f1c6479f99
5 changed files with 31 additions and 7 deletions

View File

@ -59,6 +59,7 @@ export default class Track extends React.Component{
onDoubleClick={ e => this.props.handleDoubleClick(e) }
onContextMenu={ e => this.handleContextMenu(e) }>
{ this.props.track.selected ? <FontAwesome name="check" className="select-state" fixedWidth /> : null }
{ this.props.track.playing ? <FontAwesome name="play" className="play-state" fixedWidth /> : null }
<span className="col name">
{ track.name ? track.name : <span className="grey-text">{track.uri}</span> }
</span>