mirror of
https://github.com/owntone/owntone-server.git
synced 2025-11-11 06:20:17 -05:00
[web] Remove useless component parameter
This commit is contained in:
@@ -59,7 +59,7 @@
|
||||
v-text="$t('page.artist.track-count', { count: track_count })"
|
||||
/>
|
||||
</p>
|
||||
<list-albums :albums="albums" :hide_group_title="true" />
|
||||
<list-albums :albums="albums" />
|
||||
<modal-dialog-artist
|
||||
:show="show_details_modal"
|
||||
:artist="artist"
|
||||
@@ -123,15 +123,12 @@ export default {
|
||||
{
|
||||
id: 1,
|
||||
name: this.$t('page.artist.sort.name'),
|
||||
options: { index: { field: 'name_sort', type: String } }
|
||||
options: { criteria: [{ field: 'name_sort', type: String }] }
|
||||
},
|
||||
{
|
||||
id: 2,
|
||||
name: this.$t('page.artist.sort.release-date'),
|
||||
options: {
|
||||
criteria: [{ field: 'date_released', type: Date }],
|
||||
index: { field: 'date_released', type: Date }
|
||||
}
|
||||
options: { criteria: [{ field: 'date_released', type: Date }] }
|
||||
}
|
||||
],
|
||||
show_details_modal: false
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
"
|
||||
/>
|
||||
</p>
|
||||
<list-albums :albums="albums" :hide_group_title="true" />
|
||||
<list-albums :albums="albums" />
|
||||
<modal-dialog-composer
|
||||
:show="show_details_modal"
|
||||
:composer="composer"
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
<p class="title is-4" v-text="$t('page.search.artists')" />
|
||||
</template>
|
||||
<template #content>
|
||||
<list-artists :artists="artists" :hide_group_title="true" />
|
||||
<list-artists :artists="artists" />
|
||||
</template>
|
||||
<template #footer>
|
||||
<nav v-if="show_all_button(artists)" class="level">
|
||||
@@ -112,7 +112,7 @@
|
||||
<p class="title is-4" v-text="$t('page.search.albums')" />
|
||||
</template>
|
||||
<template #content>
|
||||
<list-albums :albums="albums" :hide_group_title="true" />
|
||||
<list-albums :albums="albums" />
|
||||
</template>
|
||||
<template #footer>
|
||||
<nav v-if="show_all_button(albums)" class="level">
|
||||
|
||||
@@ -440,10 +440,7 @@ export default {
|
||||
search() {
|
||||
this.reset()
|
||||
this.search_query = this.query.query?.trim()
|
||||
if (
|
||||
!this.search_query ||
|
||||
this.search_query.startsWith('query:')
|
||||
) {
|
||||
if (!this.search_query || this.search_query.startsWith('query:')) {
|
||||
this.search_query = ''
|
||||
this.$refs.search_field.focus()
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user