See #638: fix skipping to last track in album

This commit is contained in:
Eliot Berriot 2018-12-19 23:26:21 +01:00
parent c6e03b15c7
commit a221633085
No known key found for this signature in database
GPG Key ID: DD6965E2476E5C27
1 changed files with 1 additions and 1 deletions

View File

@ -86,7 +86,7 @@ export default {
if (callback && i + 1 === total) {
p.then(callback)
}
if (shouldPlay && p) {
if (shouldPlay && p && i + 1 === total) {
p.then(() => {
dispatch('next')
})