diff --git a/front/src/radios.js b/front/src/radios.js index b10937fb9f5607e04ed96936dfab9a02f65e0ed8..3c46b711bb2546f3c196d349af1b027d0cfee5fc 100644 --- a/front/src/radios.js +++ b/front/src/radios.js @@ -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) => {