chore(front): remove deprecated dropdowns
This commit is contained in:
parent
f3b09edcbb
commit
13af438026
|
@ -119,8 +119,6 @@ onOrderingUpdate(() => {
|
||||||
fetchData()
|
fetchData()
|
||||||
})
|
})
|
||||||
|
|
||||||
// onMounted(() => $('.ui.dropdown').dropdown())
|
|
||||||
|
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const labels = computed(() => ({
|
const labels = computed(() => ({
|
||||||
searchPlaceholder: t('components.library.Albums.placeholder.search'),
|
searchPlaceholder: t('components.library.Albums.placeholder.search'),
|
||||||
|
@ -169,7 +167,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
:label="t('components.library.Albums.ordering.direction.label')"
|
:label="t('components.library.Albums.ordering.direction.label')"
|
||||||
id="album-ordering-direction"
|
id="album-ordering-direction"
|
||||||
v-model="orderingDirection"
|
v-model="orderingDirection"
|
||||||
class="ui dropdown"
|
class="dropdown"
|
||||||
>
|
>
|
||||||
<option value="+">
|
<option value="+">
|
||||||
{{ t('components.library.Albums.ordering.direction.ascending') }}
|
{{ t('components.library.Albums.ordering.direction.ascending') }}
|
||||||
|
@ -182,7 +180,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
:label="t('components.library.Albums.pagination.results')"
|
:label="t('components.library.Albums.pagination.results')"
|
||||||
id="album-results"
|
id="album-results"
|
||||||
v-model="paginateBy"
|
v-model="paginateBy"
|
||||||
class="ui dropdown"
|
class="dropdown"
|
||||||
>
|
>
|
||||||
<option
|
<option
|
||||||
v-for="opt in paginateOptions"
|
v-for="opt in paginateOptions"
|
||||||
|
|
|
@ -121,8 +121,6 @@ onOrderingUpdate(() => {
|
||||||
fetchData()
|
fetchData()
|
||||||
})
|
})
|
||||||
|
|
||||||
// onMounted(() => $('.ui.dropdown').dropdown())
|
|
||||||
|
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const labels = computed(() => ({
|
const labels = computed(() => ({
|
||||||
searchPlaceholder: t('components.library.Artists.placeholder.search'),
|
searchPlaceholder: t('components.library.Artists.placeholder.search'),
|
||||||
|
@ -173,7 +171,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
:label="t('components.library.Artists.ordering.direction.label')"
|
:label="t('components.library.Artists.ordering.direction.label')"
|
||||||
id="artist-ordering-direction"
|
id="artist-ordering-direction"
|
||||||
v-model="orderingDirection"
|
v-model="orderingDirection"
|
||||||
class="ui dropdown"
|
class="dropdown"
|
||||||
>
|
>
|
||||||
<option value="+">
|
<option value="+">
|
||||||
{{ t('components.library.Artists.ordering.direction.ascending') }}
|
{{ t('components.library.Artists.ordering.direction.ascending') }}
|
||||||
|
@ -186,7 +184,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
:label="t('components.library.Artists.pagination.results')"
|
:label="t('components.library.Artists.pagination.results')"
|
||||||
id="artist-results"
|
id="artist-results"
|
||||||
v-model="paginateBy"
|
v-model="paginateBy"
|
||||||
class="ui dropdown"
|
class="dropdown"
|
||||||
>
|
>
|
||||||
<option
|
<option
|
||||||
v-for="opt in paginateOptions"
|
v-for="opt in paginateOptions"
|
||||||
|
|
|
@ -121,8 +121,6 @@ onOrderingUpdate(() => {
|
||||||
fetchData()
|
fetchData()
|
||||||
})
|
})
|
||||||
|
|
||||||
// onMounted(() => $('.ui.dropdown').dropdown())
|
|
||||||
|
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const labels = computed(() => ({
|
const labels = computed(() => ({
|
||||||
searchPlaceholder: t('components.library.Podcasts.placeholder.search'),
|
searchPlaceholder: t('components.library.Podcasts.placeholder.search'),
|
||||||
|
@ -182,7 +180,7 @@ const isOpen = computed({
|
||||||
:label="t('components.library.Podcasts.ordering.direction.label')"
|
:label="t('components.library.Podcasts.ordering.direction.label')"
|
||||||
id="artist-ordering-direction"
|
id="artist-ordering-direction"
|
||||||
v-model="orderingDirection"
|
v-model="orderingDirection"
|
||||||
class="ui dropdown"
|
class="dropdown"
|
||||||
>
|
>
|
||||||
<option value="+">
|
<option value="+">
|
||||||
{{ t('components.library.Podcasts.ordering.direction.ascending') }}
|
{{ t('components.library.Podcasts.ordering.direction.ascending') }}
|
||||||
|
@ -195,7 +193,7 @@ const isOpen = computed({
|
||||||
:label="t('components.library.Podcasts.pagination.results')"
|
:label="t('components.library.Podcasts.pagination.results')"
|
||||||
id="artist-results"
|
id="artist-results"
|
||||||
v-model="paginateBy"
|
v-model="paginateBy"
|
||||||
class="ui dropdown"
|
class="dropdown"
|
||||||
>
|
>
|
||||||
<option
|
<option
|
||||||
v-for="opt in paginateOptions"
|
v-for="opt in paginateOptions"
|
||||||
|
|
|
@ -100,8 +100,6 @@ onOrderingUpdate(() => {
|
||||||
fetchData()
|
fetchData()
|
||||||
})
|
})
|
||||||
|
|
||||||
// onMounted(() => $('.ui.dropdown').dropdown())
|
|
||||||
|
|
||||||
const { t } = useI18n()
|
const { t } = useI18n()
|
||||||
const labels = computed(() => ({
|
const labels = computed(() => ({
|
||||||
playlists: t('views.playlists.List.header.playlists'),
|
playlists: t('views.playlists.List.header.playlists'),
|
||||||
|
@ -160,7 +158,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
:label="t('views.playlists.List.ordering.direction.label')"
|
:label="t('views.playlists.List.ordering.direction.label')"
|
||||||
id="playlists-ordering-direction"
|
id="playlists-ordering-direction"
|
||||||
v-model="orderingDirection"
|
v-model="orderingDirection"
|
||||||
class="ui dropdown"
|
class="dropdown"
|
||||||
>
|
>
|
||||||
<option value="+">
|
<option value="+">
|
||||||
{{ t('views.playlists.List.ordering.direction.ascending') }}
|
{{ t('views.playlists.List.ordering.direction.ascending') }}
|
||||||
|
@ -173,7 +171,7 @@ const paginateOptions = computed(() => sortedUniq([12, 30, 50, paginateBy.value]
|
||||||
:label="t('views.playlists.List.pagination.results')"
|
:label="t('views.playlists.List.pagination.results')"
|
||||||
id="playlist-results"
|
id="playlist-results"
|
||||||
v-model="paginateBy"
|
v-model="paginateBy"
|
||||||
class="ui dropdown"
|
class="dropdown"
|
||||||
>
|
>
|
||||||
<option
|
<option
|
||||||
v-for="opt in paginateOptions"
|
v-for="opt in paginateOptions"
|
||||||
|
|
Loading…
Reference in New Issue