Artist responsive; playURIs bug; menu reveal
This commit is contained in:
@ -1,6 +1,7 @@
|
||||
|
||||
import React, { PropTypes } from 'react'
|
||||
import Icon from './Icon'
|
||||
import SidebarToggleButton from './SidebarToggleButton'
|
||||
|
||||
export default class Header extends React.Component{
|
||||
|
||||
@ -12,6 +13,7 @@ export default class Header extends React.Component{
|
||||
return (
|
||||
<header>
|
||||
<Icon name={ this.props.icon } />
|
||||
<SidebarToggleButton />
|
||||
<h1>{ this.props.title }</h1>
|
||||
{ this.props.actions ? <div className="actions">{ this.props.actions }</div> : null }
|
||||
</header>
|
||||
|
||||
@ -173,7 +173,7 @@ class TrackList extends React.Component{
|
||||
for( var i = 0; i < tracks.length; i++ ){
|
||||
uris.push( tracks[i].uri )
|
||||
}
|
||||
return this.props.mopidyActions.playTracks( uris )
|
||||
return this.props.mopidyActions.playURIs( uris )
|
||||
}
|
||||
|
||||
removeTracks(){
|
||||
|
||||
Reference in New Issue
Block a user