Moving can_edit on playlists to ui middleware, fixes #73

This commit is contained in:
James Barnsley
2017-03-20 18:20:59 +13:00
parent 423c5ae91f
commit 98e4e2db54
4 changed files with 28 additions and 5 deletions

View File

@ -353,7 +353,6 @@ const MopidyMiddleware = (function(){
uri: response.uri,
source: (source == 'spotify' ? 'local' : source),
last_modified: response.last_modified,
can_edit: (response.uri.startsWith('m3u:')),
tracks_total: ( response.tracks ? response.tracks.length : 0 )
}
)