Skip to content

Commit

Permalink
only should delete option if track has an id for the playlist
Browse files Browse the repository at this point in the history
  • Loading branch information
edoparearyee committed Jul 15, 2015
1 parent 3904a09 commit 5080ce2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/partials/track.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
</a>
<ul class="dropdown-menu" role="menu">
<li><a href ng-click="addToPlaylist(track)">Add to playlist</a></li>
<li><a href ng-click="removeTrack(id)">Delete from queue</a></li>
<li><a href ng-if="id" ng-click="removeTrack(id)">Delete from queue</a></li>
</ul>
</div>

Expand Down

0 comments on commit 5080ce2

Please sign in to comment.