From 76fbd358b7d2b5aebfa81b6f96c9f49533cf0fc8 Mon Sep 17 00:00:00 2001 From: James Barnsley Date: Mon, 14 Nov 2016 21:02:46 +1300 Subject: [PATCH] Details fields --- src/js/views/Playlist.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/js/views/Playlist.js b/src/js/views/Playlist.js index 72dee045..692175f0 100755 --- a/src/js/views/Playlist.js +++ b/src/js/views/Playlist.js @@ -63,10 +63,12 @@ class Playlist extends React.Component{ this.props.spotifyActions.toggleFollowingPlaylist( this.props.params.uri, 'PUT' ) } + // TODO: Once unfollowing occurs, remove playlist from global playlists list unfollow(){ this.props.spotifyActions.toggleFollowingPlaylist( this.props.params.uri, 'DELETE' ) } + // TODO: Once deletion occurs, remove playlist from global playlists list delete(){ this.props.mopidyActions.deletePlaylist( this.props.params.uri ) } @@ -121,7 +123,7 @@ class Playlist extends React.Component{