Context menu context and titles; List unification

This commit is contained in:
James Barnsley
2017-03-13 21:19:09 +13:00
parent 72c31f045b
commit 0e72f2a52e
13 changed files with 42 additions and 16 deletions

View File

@ -146,10 +146,10 @@ class Playlist extends React.Component{
render(){
var scheme = helpers.uriSource( this.props.params.uri )
var context = 'playlist-track'
var context = 'playlist'
if (this.props.playlist){
if (this.props.playlist.can_edit) context = 'editable-playlist-track'
if (this.props.playlist.can_edit) context = 'editable-playlist'
return (
<div className="view playlist-view">