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

This commit is contained in:
Eliot Berriot 2020-03-26 10:13:53 +01:00
parent a8606a6895
commit c43fe461c4
No known key found for this signature in database
GPG Key ID: 6B501DFD73514E14
1 changed files with 1 additions and 1 deletions

View File

@ -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) => {