From a23996bbdd83f543c157648e760af79cc2f05a3a Mon Sep 17 00:00:00 2001 From: upsiflu Date: Mon, 3 Feb 2025 14:38:18 +0100 Subject: [PATCH] refactor(upload): [WIP] rebuild upload modal functionality --- front/src/components/channels/AlbumSelect.vue | 2 + front/src/components/channels/UploadForm.vue | 54 +----- front/src/ui/modals/Upload.vue | 183 +++++++++--------- 3 files changed, 93 insertions(+), 146 deletions(-) diff --git a/front/src/components/channels/AlbumSelect.vue b/front/src/components/channels/AlbumSelect.vue index 2d7b4ac75..208d28fd0 100644 --- a/front/src/components/channels/AlbumSelect.vue +++ b/front/src/components/channels/AlbumSelect.vue @@ -40,6 +40,7 @@ const fetchData = async () => { } }) + console.log("I found another album with artist", props.channel?.artist.name, ":", response.data.results) albums.push(...response.data.results) isLoading.value = false } @@ -57,6 +58,7 @@ watch(() => props.channel, fetchData, { immediate: true }) {{ t('components.channels.AlbumSelect.label.album') }} + {{ albums }}