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

See #1060: always append at the end of the queue

parent a8606a68
No related branches found
No related tags found
No related merge requests found
......@@ -36,7 +36,7 @@ const RADIOS = {
if (event.actor.local_id === current.objectId.username) {
axios.get(`tracks/${event.object.local_id}`).then((response) => {
if (response.data.uploads.length > 0) {
store.dispatch('queue/append', {track: response.data, index: store.state.queue.currentIndex + 1})
store.dispatch('queue/append', {track: response.data})
this.offset += 1
}
}, (error) => {
......
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