Fix song edit form open bug

This commit is contained in:
An Phan 2017-01-20 10:55:04 +08:00
parent 936dae09ec
commit 37e5c3853a
No known key found for this signature in database
GPG key ID: 05536BB4BCDC02A2

View file

@ -113,7 +113,7 @@ export default {
* Trigger opening the "Edit Song" form/overlay.
*/
openEditForm () {
this.songs.length || event.emit('songs:edit', this.songs)
this.songs.length && event.emit('songs:edit', this.songs)
this.close()
},