From e0b24e10eecb26dd646d7a85b9d28f6ae995a5b0 Mon Sep 17 00:00:00 2001 From: ArneBo Date: Thu, 13 Feb 2025 10:59:19 +0100 Subject: [PATCH] refactor(front): Albums in channels --- front/src/components/audio/album/Card.vue | 5 +++-- front/src/components/channels/AlbumForm.vue | 19 +++++++++++-------- front/src/components/channels/AlbumModal.vue | 2 +- .../composables/moderation/useEditConfigs.ts | 16 ++-------------- front/src/views/channels/DetailOverview.vue | 2 +- 5 files changed, 18 insertions(+), 26 deletions(-) diff --git a/front/src/components/audio/album/Card.vue b/front/src/components/audio/album/Card.vue index f392d128b..9a4f56c85 100644 --- a/front/src/components/audio/album/Card.vue +++ b/front/src/components/audio/album/Card.vue @@ -1,6 +1,8 @@ diff --git a/front/src/components/channels/AlbumForm.vue b/front/src/components/channels/AlbumForm.vue index a3b94ad63..a4d52515e 100644 --- a/front/src/components/channels/AlbumForm.vue +++ b/front/src/components/channels/AlbumForm.vue @@ -5,6 +5,10 @@ import { computed, watch, ref } from 'vue' import { useI18n } from 'vue-i18n' import axios from 'axios' +import Layout from '~/components/ui/Layout.vue' +import Alert from '~/components/ui/Alert.vue' +import Input from '~/components/ui/Input.vue' + interface Events { (e: 'submittable', value: boolean): void (e: 'loading', value: boolean): void @@ -52,14 +56,13 @@ defineExpose({ diff --git a/front/src/components/channels/AlbumModal.vue b/front/src/components/channels/AlbumModal.vue index 0f5bae0e4..5bdf0eb57 100644 --- a/front/src/components/channels/AlbumModal.vue +++ b/front/src/components/channels/AlbumModal.vue @@ -53,10 +53,10 @@ defineExpose({ />