Skip to content
Snippets Groups Projects
Verified Commit a2216330 authored by Eliot Berriot's avatar Eliot Berriot
Browse files

See #638: fix skipping to last track in album

parent c6e03b15
No related branches found
No related tags found
No related merge requests found
......@@ -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')
})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment