From c16eefedfc296fc7c9ee9d42afc211f30c0c2ae1 Mon Sep 17 00:00:00 2001 From: ArneBo Date: Mon, 17 Feb 2025 17:32:17 +0100 Subject: [PATCH] refactor(front): channel form --- front/src/components/audio/ChannelForm.vue | 95 ++++++++++------------ front/src/views/auth/ProfileOverview.vue | 12 +-- front/src/views/channels/List.vue | 8 +- 3 files changed, 55 insertions(+), 60 deletions(-) diff --git a/front/src/components/audio/ChannelForm.vue b/front/src/components/audio/ChannelForm.vue index 951c40d07..814bdf7bf 100644 --- a/front/src/components/audio/ChannelForm.vue +++ b/front/src/components/audio/ChannelForm.vue @@ -165,6 +165,7 @@ defineExpose({
() const step = ref(1) const { isOpen, to } = useModal('createChannel') -const loading = ref(false) +const isLoading = ref(false) const submittable = ref(false) const category = ref('podcast') @@ -83,7 +84,7 @@ const createForm = ref() ref="createForm" :object="null" :step="step" - @loading="loading = $event" + @loading="isLoading = $event" @submittable="submittable = $event" @category="category = $event" @errored="modalContent.scrollTop = 0" @@ -91,11 +92,12 @@ const createForm = ref() />