diff --git a/front/src/components/channels/UploadForm.vue b/front/src/components/channels/UploadForm.vue index 7261579a4..0294be7fc 100644 --- a/front/src/components/channels/UploadForm.vue +++ b/front/src/components/channels/UploadForm.vue @@ -141,7 +141,8 @@ const createEmptyChannel = async () => { const fetchChannels = async () => { isLoading.value = true try { - const response = await axios.get('channels/', { params: { scope: 'me' /* Ask Pablo: which param to filter for `music` | `podcast`? */ } }) + const response = await axios.get('channels/', { params: { scope: 'me' /* Ask Pablo: which param to filter for `music` | `podcast`? + Answer: const isPodcast = computed(() => channel.value?.artist?.content_category === 'podcast')*/ } }) availableChannels.value = response.data.results } catch (error) { errors.value = (error as BackendError).backendErrors