diff --git a/front/src/components/audio/ChannelsWidget.vue b/front/src/components/audio/ChannelsWidget.vue index a7b76d211..aa90a363b 100644 --- a/front/src/components/audio/ChannelsWidget.vue +++ b/front/src/components/audio/ChannelsWidget.vue @@ -49,7 +49,7 @@ const fetchData = async (url = 'channels/') => { const response = await axios.get(url, { params }) nextPage.value = response.data.next count.value = response.data.count - channels.push(...response.data.results) + channels.splice(0, channels.length, ...response.data.results) emit('fetched', response.data) } catch (error) { errors.value = (error as BackendError).backendErrors