Adding ability to blur parallax; Overlay header; Discover Featured intro playlist
This commit is contained in:
@ -69,7 +69,6 @@ class Playlist extends React.Component{
|
||||
}
|
||||
|
||||
play(){
|
||||
ReactGA.event({ category: 'Playlist', action: 'Play', label: this.props.playlist.uri })
|
||||
this.props.mopidyActions.playPlaylist(this.props.playlist.uri)
|
||||
}
|
||||
|
||||
@ -86,17 +85,14 @@ class Playlist extends React.Component{
|
||||
|
||||
// TODO: Once deletion occurs, remove playlist from global playlists list
|
||||
delete(){
|
||||
ReactGA.event({ category: 'Playlist', action: 'Delete', label: this.props.playlist.uri })
|
||||
this.props.mopidyActions.deletePlaylist( this.props.playlist.uri )
|
||||
}
|
||||
|
||||
reorderTracks( indexes, index ){
|
||||
ReactGA.event({ category: 'Playlist', action: 'Reorder tracks', label: this.props.playlist.uri })
|
||||
this.props.uiActions.reorderPlaylistTracks( this.props.playlist.uri, indexes, index, this.props.playlist.snapshot_id )
|
||||
}
|
||||
|
||||
removeTracks( tracks_indexes ){
|
||||
ReactGA.event({ category: 'Playlist', action: 'Remove tracks', label: this.props.playlist.uri })
|
||||
this.props.uiActions.removeTracksFromPlaylist( this.props.playlist.uri, tracks_indexes )
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user