NathanWalker / ngTunes

:musical_note: The Community Angular 2 Music Player. :musical_note:
http://www.angulartunes.com
48 stars 11 forks source link

Fix bug with removing tracks #8

Open NathanWalker opened 8 years ago

NathanWalker commented 8 years ago

Click by "remove" button in the playlist causes an exception:

zone.js:260 Uncaught EXCEPTION: Error in app/components/playlist/playlist.component.html:13:13 ORIGINAL EXCEPTION: TypeError: Cannot read property 'trackName' of undefined ORIGINAL STACKTRACE: TypeError: Cannot read property 'trackName' of undefined

After that, you can't select another song from the playlist, and "STOP" button is not working too.