diff --git a/front/src/store/queue.js b/front/src/store/queue.js index 717616d2d7a5ada50a943e8c248ca2e8dd394e8f..dba102b4669acf11a710724341f196483c5bae35 100644 --- a/front/src/store/queue.js +++ b/front/src/store/queue.js @@ -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') })