From e0f5178ba4093e7f991cbb99a53ff07607cdc62c Mon Sep 17 00:00:00 2001 From: Buster Neece Date: Sat, 7 Jan 2023 10:04:08 -0600 Subject: [PATCH] More Composition conversion and fixes. --- .../vue/components/Stations/Common/Quota.vue | 4 + .../Stations/Media/MediaToolbar.vue | 382 +++++++++--------- .../Stations/Playlists/Form/ScheduleRow.vue | 105 +++-- .../Stations/Podcasts/EpisodesView.vue | 121 +++--- .../components/Stations/Podcasts/ListView.vue | 122 +++--- .../Stations/Remotes/Form/AutoDj.vue | 113 +++--- .../Stations/Remotes/Form/BasicInfo.vue | 51 +-- .../components/Stations/Reports/Requests.vue | 2 + .../Stations/Reports/SoundExchange.vue | 74 ++-- .../Stations/Streamers/Form/ScheduleRow.vue | 101 +++-- 10 files changed, 535 insertions(+), 540 deletions(-) diff --git a/frontend/vue/components/Stations/Common/Quota.vue b/frontend/vue/components/Stations/Common/Quota.vue index 7afed7468..90278ad46 100644 --- a/frontend/vue/components/Stations/Common/Quota.vue +++ b/frontend/vue/components/Stations/Common/Quota.vue @@ -106,4 +106,8 @@ const update = () => { } onMounted(update); + +defineExpose({ + update +}); diff --git a/frontend/vue/components/Stations/Media/MediaToolbar.vue b/frontend/vue/components/Stations/Media/MediaToolbar.vue index 064cafc24..4d8ef08c0 100644 --- a/frontend/vue/components/Stations/Media/MediaToolbar.vue +++ b/frontend/vue/components/Stations/Media/MediaToolbar.vue @@ -6,7 +6,7 @@
- - {{ $gettext('Save') }} - - - {{ $gettext('Clear') }} - +
+ + {{ $gettext('Save') }} + + + {{ $gettext('Clear') }} + +
@@ -148,188 +150,200 @@ - diff --git a/frontend/vue/components/Stations/Playlists/Form/ScheduleRow.vue b/frontend/vue/components/Stations/Playlists/Form/ScheduleRow.vue index 9c186b1d4..5c45e4a3d 100644 --- a/frontend/vue/components/Stations/Playlists/Form/ScheduleRow.vue +++ b/frontend/vue/components/Stations/Playlists/Form/ScheduleRow.vue @@ -14,7 +14,7 @@ size="sm" variant="outline-light" class="py-2 pr-0" - @click.prevent="$emit('remove')" + @click.prevent="doRemove()" > {{ $gettext('Remove') }} @@ -27,7 +27,7 @@