diff --git a/front/src/components/library/Albums.vue b/front/src/components/library/Albums.vue index 02dcbfb10..c1faadde5 100644 --- a/front/src/components/library/Albums.vue +++ b/front/src/components/library/Albums.vue @@ -153,6 +153,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value] :get="model => { tags = model.currents.map(({ label }) => label) }" :set="model => ({ ...model, + others: [], currents: tags.map(tag => ({ type: 'custom' as const, label: tag })), })" :label="t('components.library.Albums.label.tags')" diff --git a/front/src/components/library/Artists.vue b/front/src/components/library/Artists.vue index c87e41efb..865502792 100644 --- a/front/src/components/library/Artists.vue +++ b/front/src/components/library/Artists.vue @@ -153,6 +153,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value] :get="model => { tags = model.currents.map(({ label }) => label) }" :set="model => ({ ...model, + others: [], currents: tags.map(tag => ({ type: 'custom' as const, label: tag })), })" :label="t('components.library.Artists.label.tags')" diff --git a/front/src/components/library/Podcasts.vue b/front/src/components/library/Podcasts.vue index 81d24998c..41ab3fa17 100644 --- a/front/src/components/library/Podcasts.vue +++ b/front/src/components/library/Podcasts.vue @@ -179,6 +179,7 @@ const { to: upload } = useModal('upload') :get="model => { tags = model.currents.map(({ label }) => label) }" :set="model => ({ ...model, + others: [], currents: tags.map(tag => ({ type: 'custom' as const, label: tag })), })" :label="t('components.library.Podcasts.label.tags')" diff --git a/front/src/views/channels/List.vue b/front/src/views/channels/List.vue index 3ca9f9368..7782f7215 100644 --- a/front/src/views/channels/List.vue +++ b/front/src/views/channels/List.vue @@ -237,6 +237,7 @@ const showCreateModal = ref(false) :get="model => { tags = model.currents.map(({ label }) => label) }" :set="model => ({ ...model, + others: [], currents: tags.map(tag => ({ type: 'custom' as const, label: tag })), })" :label="t('components.library.Podcasts.label.tags')"