See #638: fix skipping to last track in album
This commit is contained in:
parent
c6e03b15c7
commit
a221633085
|
@ -86,7 +86,7 @@ export default {
|
||||||
if (callback && i + 1 === total) {
|
if (callback && i + 1 === total) {
|
||||||
p.then(callback)
|
p.then(callback)
|
||||||
}
|
}
|
||||||
if (shouldPlay && p) {
|
if (shouldPlay && p && i + 1 === total) {
|
||||||
p.then(() => {
|
p.then(() => {
|
||||||
dispatch('next')
|
dispatch('next')
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue